summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2004-09-28 21:02:43 +0000
committerPeter Wemm <peter@FreeBSD.org>2004-09-28 21:02:43 +0000
commit92ae313d8e4cdeea8f9141b11df1ccc02bd09706 (patch)
treeaa575053cb9f9cf96f9463d9e4c82d7ce7c8a52f /gnu
parentae59037978535fd06e84ab87a298fc54ee084bbb (diff)
downloadsrc-test2-92ae313d8e4cdeea8f9141b11df1ccc02bd09706.tar.gz
src-test2-92ae313d8e4cdeea8f9141b11df1ccc02bd09706.zip
Notes
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/cvs/cvsbug/Makefile2
-rw-r--r--gnu/usr.bin/cvs/lib/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/cvs/cvsbug/Makefile b/gnu/usr.bin/cvs/cvsbug/Makefile
index a7133788e857..608d481eaee7 100644
--- a/gnu/usr.bin/cvs/cvsbug/Makefile
+++ b/gnu/usr.bin/cvs/cvsbug/Makefile
@@ -15,7 +15,7 @@ CLEANFILES+= cvsbug
cvsbug: cvsbug.in
version=`sed < ${CVSDIR}/configure \
- -e '/^[ ]*VERSION=/!d' -e 's/.*=\(.*\)/\1/' -e q`; \
+ -e '/^[ ]*VERSION=/!d' -e 's/.*=["'\'']\{0,1\}\([^"'\'']*\)["'\'']\{0,1\}/\1/' -e q`; \
sed -e "s,@VERSION@,$${version}-FreeBSD,g" ${.ALLSRC} > ${.TARGET}
.include <bsd.prog.mk>
diff --git a/gnu/usr.bin/cvs/lib/Makefile b/gnu/usr.bin/cvs/lib/Makefile
index 46e10b9ff825..d09550d1e284 100644
--- a/gnu/usr.bin/cvs/lib/Makefile
+++ b/gnu/usr.bin/cvs/lib/Makefile
@@ -29,7 +29,7 @@ SRCS= config.h argmatch.c getdate.y getline.c \
config.h: config.h.proto
version=`sed < ${CVSDIR}/configure \
- -e '/^[ ]*VERSION=/!d' -e 's/.*=\(.*\)/\1/' -e q`; \
+ -e '/^[ ]*VERSION=/!d' -e 's/.*=["'\'']\{0,1\}\([^"'\'']*\)["'\'']\{0,1\}/\1/' -e q`; \
sed -e "s,@VERSION@,$${version}-FreeBSD,g" \
-e "s,@UMASK_DFLT@,${CVS_UMASK_DFLT},g" \
-e "s,@TMPDIR_DFLT@,${CVS_TMPDIR_DFLT},g" \