repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git]
/
external
/
bsd
/
ntp
/
dist
/
scripts
/
genCommitLog
blob
0acb05436ecbc21c491d847c73415c0be885ca3e
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
-R
prs
-hr
${CLTAG}
..
-nd
':I:'
| bk changes
-m -v
- >
CommitLog.new
13
mv
CommitLog.new CommitLog
14
case
"
$GCL_REMOVEWRITE
"
in
15
1
)
chmod
a-w CommitLog .
16
esac