diff options
author | phk <phk@FreeBSD.org> | 2001-07-18 05:40:30 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2001-07-18 05:40:30 +0000 |
commit | 27eac0636289d676d2ef62bb9328d67b8944db8b (patch) | |
tree | d74b0e5a6ef6650e4629a7a6f5433d6f070059fc | |
parent | 8add8ad5e6825c9194d41c0c0834752ab813670e (diff) | |
download | FreeBSD-src-27eac0636289d676d2ef62bb9328d67b8944db8b.zip FreeBSD-src-27eac0636289d676d2ef62bb9328d67b8944db8b.tar.gz |
Use quotes around ${RELEASETAG} to allow values like
-r RELENG_4 -D "2001-07-17 12:00"
-rw-r--r-- | release/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/Makefile b/release/Makefile index 34ac29f..490eea7 100644 --- a/release/Makefile +++ b/release/Makefile @@ -31,7 +31,7 @@ BUILDNAME?=${BASE}-${DATE}-SNAP # are building an official release. Otherwise, we are building for # a branch. .if defined(RELEASETAG) -ISRELEASE!= expr ${RELEASETAG} : '^RELENG_.*_RELEASE$$' || true +ISRELEASE!= expr "${RELEASETAG}" : '^RELENG_.*_RELEASE$$' || true .if ${ISRELEASE} != 0 # Convert "RELENG_ver_RELEASE" to "RELEASE_ver" for ports and doc trees. AUXRELEASETAG!= echo ${RELEASETAG} | sed -e 's/^RELENG_/RELEASE_/' -e 's/_RELEASE$$//' @@ -331,7 +331,7 @@ rerelease release: echo "export BUILDNAME=${BUILDNAME}" >> ${CHROOTDIR}/mk echo "export OBJFORMAT=${OBJFORMAT}" >> ${CHROOTDIR}/mk .if defined(RELEASETAG) - echo "export RELEASETAG=${RELEASETAG}" >> ${CHROOTDIR}/mk + echo "export RELEASETAG=\"${RELEASETAG}\"" >> ${CHROOTDIR}/mk .endif .if defined(NOPORTS) echo "export NOPORTS=${NOPORTS}" >> ${CHROOTDIR}/mk |