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