File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / ntp / scripts / genCommitLog
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue May 29 12:08:38 2012 UTC (12 years, 7 months ago) by misho
Branches: ntp, MAIN
CVS tags: v4_2_6p5p0, v4_2_6p5, HEAD
ntp 4.2.6p5

#! /bin/sh

set -e

GCL_REMOVEWRITE=0
. ./packageinfo.sh
if [ ! -w . ] ; then
        GCL_REMOVEWRITE=1
        chmod u+w .
        [ -f CommitLog -a ! -w CommitLog ] && chmod u+w CommitLog
fi
bk changes -v -m -r${CLTAG}.. > CommitLog.new
mv CommitLog.new CommitLog
case "$GCL_REMOVEWRITE" in
 1) chmod a-w CommitLog .
esac

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>