Home | History | Annotate | Line # | Download | only in build
      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
     30