File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / ntp / scripts / checkChangeLog
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue May 29 12:08:38 2012 UTC (12 years ago) by misho
Branches: ntp, MAIN
CVS tags: v4_2_6p5p0, v4_2_6p5, HEAD
ntp 4.2.6p5

#! /bin/sh

. ./packageinfo.sh

# HMS: Irix doesn't have 'head'...
cl1=`head -1 ChangeLog || sed -e 1q ChangeLog`

case "$repotype" in
 dev) ;;
 stable) ;;
 *) echo "Unexpected repotype <$repotype>"
    exit 1
    ;;
esac

case "$repotype$cl1" in
 dev---)
    echo "Dev repo ChangeLog must not begin with '---'!"
    exit 1
    ;;
 dev*)
    ;;
 stable---)
    ;;
 stable*)
    echo "Stable repo Changelog must begin with '---'!"
    exit 1
    ;;
esac

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>