From 38c0c78e50c85a0e47ce4ae67d03158a16036bb3 Mon Sep 17 00:00:00 2001 From: Matt Macy Date: Sun, 22 Jul 2018 23:33:48 +0000 Subject: [PATCH] fix use of empty in Makefile.ec2 empty() takes a variable name - not the expanded value Reported by: sjg --- release/Makefile.ec2 | 4 ++-- 1 file 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