prevent keyword substitution in regexp pattern

This commit is contained in:
he 1999-06-30 22:17:51 +00:00
parent 36d9a1a873
commit b60024e95b
3 changed files with 8 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.6 1999/06/30 21:59:53 he Exp $
# $Id: Makefile,v 1.7 1999/06/30 22:17:51 he Exp $
SHELL = /bin/sh
@ -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: make_extra_version.sh,v 1.1 1999/06/30 17:18:32 he Exp $' < $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