add comment to allow easy reuse.

This commit is contained in:
Joe Orton 2012-05-31 14:28:46 +01:00
parent 8efe5b8c43
commit 5dd3534137

View File

@ -14,9 +14,10 @@ vcurl="http://svn.apache.org/viewvc?view=revision&revision="
if test -f ${fn}; then if test -f ${fn}; then
mv -v -f ${fn} ${fn}\~ mv -v -f ${fn} ${fn}\~
sed '/^--- /,$d' < ${fn}\~ > ${fn} echo "# $0 $*" > ${fn}
sed '1{/#.*pullrev/d;};/^--- /,$d' < ${fn}\~ >> ${fn}
else else
echo > ${fn} echo "# $0 $*" > ${fn}
fi fi
new=0 new=0