aboutsummaryrefslogtreecommitdiff
path: root/release/Makefile.ec2
diff options
context:
space:
mode:
authorMatt Macy <mmacy@FreeBSD.org>2018-07-22 23:33:48 +0000
committerMatt Macy <mmacy@FreeBSD.org>2018-07-22 23:33:48 +0000
commit38c0c78e50c85a0e47ce4ae67d03158a16036bb3 (patch)
treea7bf774f7a11d195bc2ce54ba227c331207b2806 /release/Makefile.ec2
parentf30f0f2b4792e63ffa8d07e2e791122bfb20fdbf (diff)
downloadsrc-38c0c78e50c85a0e47ce4ae67d03158a16036bb3.tar.gz
src-38c0c78e50c85a0e47ce4ae67d03158a16036bb3.zip
fix use of empty in Makefile.ec2
empty() takes a variable name - not the expanded value Reported by: sjg
Notes
Notes: svn path=/head/; revision=336624
Diffstat (limited to 'release/Makefile.ec2')
-rw-r--r--release/Makefile.ec24
1 files changed, 2 insertions, 2 deletions
diff --git a/release/Makefile.ec2 b/release/Makefile.ec2
index 041e77651102..58332dec20ea 100644
--- a/release/Makefile.ec2
+++ b/release/Makefile.ec2
@@ -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