summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorgjb <gjb@FreeBSD.org>2015-09-01 15:28:35 +0000
committergjb <gjb@FreeBSD.org>2015-09-01 15:28:35 +0000
commite727a91c32ffc18c950cbe9e3a3c70cb30206467 (patch)
tree86d1c7a1ee427264096c68d9705565b9bcf19c9e /release
parent00e3c0ad5cb6389cb6ca6d0baee9686b34c8ef4b (diff)
downloadFreeBSD-src-e727a91c32ffc18c950cbe9e3a3c70cb30206467.zip
FreeBSD-src-e727a91c32ffc18c950cbe9e3a3c70cb30206467.tar.gz
Remove '-' separating OSRELEASE and SNAPSHOT_DATE for vagrant
builds, and prepend it to SNAPSHOT_DATE to prevent a trailing '-' in the final box name for a release build. MFC after: 3 days Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'release')
-rw-r--r--release/Makefile.vagrant4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/Makefile.vagrant b/release/Makefile.vagrant
index 7ae6484..3b53ba9 100644
--- a/release/Makefile.vagrant
+++ b/release/Makefile.vagrant
@@ -17,11 +17,11 @@ ATLAS${VAR}:= ${VAGRANT${VAR}}
.endif
.if ${BRANCH} == "STABLE" || ${BRANCH} == "CURRENT" || ${BRANCH} == "PRERELEASE"
-SNAPSHOT_DATE!= date +%Y%m%d
+SNAPSHOT_DATE!= date +-%Y%m%d
.endif
VAGRANT_VERSION!= date +%Y.%m.%d
-VAGRANT_TARGET:= ${OSRELEASE}-${SNAPSHOT_DATE}
+VAGRANT_TARGET:= ${OSRELEASE}${SNAPSHOT_DATE}
.if !empty(CLOUDWARE)
. for _PROVIDER in ${CLOUDWARE}
. if ${_PROVIDER:MVAGRANT*}
OpenPOWER on IntegriCloud