mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 21:05:08 +00:00
fix use of empty in Makefile.ec2
empty() takes a variable name - not the expanded value Reported by: sjg
This commit is contained in:
parent
f30f0f2b47
commit
38c0c78e50
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=336624
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue