1#! /bin/sh 2 3. ./packageinfo.sh 4 5# HMS: Irix doesn't have 'head'... 6cl1=`head -1 ChangeLog || sed -e 1q ChangeLog` 7 8case "$repotype" in 9 dev) ;; 10 stable) ;; 11 *) echo "Unexpected repotype <$repotype>" 12 exit 1 13 ;; 14esac 15 16case "$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 ;; 29esac 30