Skip to content

Commit e53fac8

Browse files
committed
util: make issue must save empty variables
.tcl scripts check for the presence of variables sometimes. Hence an empty enviornment variable is not the same as an absent environment variable. Therefore empty environment variables have to be saved, in general. This reverts parts of commit 0a4b13f. Signed-off-by: Øyvind Harboe <[email protected]>
1 parent f03b5fa commit e53fac8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

flow/util/generate-vars.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ do
2020
continue
2121
fi
2222
rhs=`sed -e 's/^"//' -e 's/"$//' <<<"${V#*=}"`
23-
if [[ "${rhs}" == "''" ]]; then
24-
echo "Skiping empty variable ${V}"
25-
continue
26-
fi
2723
# handle absolute paths
2824
if [[ "${rhs}" == /* ]]; then
2925
if [[ ! -e "${rhs}" ]]; then

0 commit comments

Comments
 (0)