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, 1 month ago) by misho
Branches: ntp, MAIN
CVS tags: v4_2_6p5p0, v4_2_6p5, HEAD
ntp 4.2.6p5

    1: #! /bin/sh
    2: 
    3: . ./packageinfo.sh
    4: 
    5: # HMS: Irix doesn't have 'head'...
    6: cl1=`head -1 ChangeLog || sed -e 1q ChangeLog`
    7: 
    8: case "$repotype" in
    9:  dev) ;;
   10:  stable) ;;
   11:  *) echo "Unexpected repotype <$repotype>"
   12:     exit 1
   13:     ;;
   14: esac
   15: 
   16: case "$repotype$cl1" in
   17:  dev---)
   18:     echo "Dev repo ChangeLog must not begin with '---'!"
   19:     exit 1
   20:     ;;
   21:  dev*)
   22:     ;;
   23:  stable---)
   24:     ;;
   25:  stable*)
   26:     echo "Stable repo Changelog must begin with '---'!"
   27:     exit 1
   28:     ;;
   29: esac

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