add comment to allow easy reuse.
This commit is contained in:
parent
8efe5b8c43
commit
5dd3534137
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user