prevent keyword substitution in regexp pattern

This commit is contained in:
Henner Eisen 1999-06-30 22:18:07 +00:00
parent cc55a735b7
commit bbe8fe4a87
3 changed files with 7 additions and 4 deletions

View File

@ -67,12 +67,14 @@ release: new_version commit
rm -f xx[0-9][0-9]
csplit CHANGES '/$$Log:/+1'
mv -f xx00 CHANGES.tmp
echo '===============' >> CHANGES.tmp
echo '--------------' >> CHANGES.tmp
echo "Version $(NEW_VERSION)" >> CHANGES.tmp
echo '--------------' >> CHANGES.tmp
cat xx[0-9][0-9] >> CHANGES.tmp
rm -f xx[0-9][0-9]
mv -f CHANGES CHANGES.old
mv CHANGES.tmp CHANGES
$(CVS) commit -m "Version $(NEW_VERSION)" .
$(CVS) commit -m "eftp4linux $(NEW_VERSION)" .
$(CVS) tag `echo eftp4linux-$(NEW_VERSION)|sed s/\\\\./_/g` .
tar -czf ../eftp4linux-$(NEW_VERSION).tar.gz .

View File

@ -1,2 +1,2 @@
#define E4L_EXTRA_VERSION_REV ""
#define E4L_EXTRA_VERSION_REV "+"
#define E4L_EXTRA_VERSION_CHANGED ""

View File

@ -12,8 +12,9 @@ elif [ x"$1" = x"-" ]; then
else
#
#retrieve CVS revision number from first RCS Id Keyword in file
#(take care that keyword substitution does not take place here)
#
revision_string='+'`grep '\$Id$' < $1 | head -1 | sed 's/^.*,v //
revision_string='+'`grep '\$''Id:' < $1 | head -1 | sed 's/^.*,v //
s/ .*$//'`
#
# we should additionally determine whether the file has been changed since