]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - contrib/ntp/scripts/build/genCommitLog
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / contrib / ntp / scripts / build / genCommitLog
1 #! /bin/sh
2
3 set -e
4
5 GCL_REMOVEWRITE=0
6 . ./packageinfo.sh
7 if [ ! -w . ] ; then
8         GCL_REMOVEWRITE=1
9         chmod u+w .
10         [ -f CommitLog -a ! -w CommitLog ] && chmod u+w CommitLog
11 fi
12 bk changes -v -m -r${CLTAG}.. > CommitLog.new
13 mv CommitLog.new CommitLog
14 case "$GCL_REMOVEWRITE" in
15  1) chmod a-w CommitLog .
16 esac