blob: 46c56c44b0532338113b80d869cd206f336500a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#! /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
|