svn commit: r336624 - head/release
Matt Macy
mmacy at FreeBSD.org
Sun Jul 22 23:33:49 UTC 2018
Author: mmacy
Date: Sun Jul 22 23:33:48 2018
New Revision: 336624
URL: https://svnweb.freebsd.org/changeset/base/336624
Log:
fix use of empty in Makefile.ec2
empty() takes a variable name - not the expanded value
Reported by: sjg
Modified:
head/release/Makefile.ec2
Modified: head/release/Makefile.ec2
==============================================================================
--- head/release/Makefile.ec2 Sun Jul 22 23:32:21 2018 (r336623)
+++ head/release/Makefile.ec2 Sun Jul 22 23:33:48 2018 (r336624)
@@ -16,11 +16,11 @@ SVN_CMD= ${_P}/${_S}
. endfor
.endif
.if exists(${SRCTOP}/.svn)
-. if empty(${EC2_SVNBRANCH})
+. if empty(EC2_SVNBRANCH)
EC2_SVNBRANCH!= ${SVN_CMD} info --show-item relative-url ${WORLDDIR} | sed -e 's/\^\///'
. export EC2_SVNBRANCH
. endif
-. if empty(${EC2_SVNREV})
+. if empty(EC2_SVNREV)
EC2_SVNREV!= ${SVN_CMD} info --show-item last-changed-revision ${WORLDDIR}
. export EC2_SVNREV
. endif
More information about the svn-src-head
mailing list