Change the hour:minute delimiter from ':' to '-', since

the former is an invalid character in EC2 images.

MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Glen Barber 2015-06-25 14:24:06 +00:00
parent 3c3445e8c7
commit 27d233f7cc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=284812
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@ AZURE${VAR}!= grep -E ^AZURE${VAR} ${AZURE_UPLOAD_CONF} | awk -F' ' '{print $$2}
.endif
.if ${BRANCH} == "STABLE" || ${BRANCH} == "CURRENT" || ${BRANCH} == "PRERELEASE"
SNAPSHOT_DATE!= date +-%Y-%m-%d-%H:%M
SNAPSHOT_DATE!= date +-%Y-%m-%d-%H-%M
.endif
AZURE_TARGET:= ${OSRELEASE}${SNAPSHOT_DATE}.vhd

View file

@ -6,7 +6,7 @@
#
.if ${BRANCH} == "CURRENT" || ${BRANCH} == "STABLE" || ${BRANCH} == "PRERELEASE"
AMINAMESUFFIX!= date +-%Y-%m-%d-%H:%M
AMINAMESUFFIX!= date +-%Y-%m-%d-%H-%M
.endif
.if defined(EC2PUBLIC)
PUBLISH= --public