diff options
author | Richard Levitte <levitte@openssl.org> | 2016-03-21 08:11:14 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-03-21 16:11:12 +0100 |
commit | 2b364f615bbe913ba9121ddb4018da505b407882 (patch) | |
tree | c81834d864ad26790829442abcaffee2c03066af /crypto/conf/keysets.pl | |
parent | 8d9fb8c8dbdaad8c7e6009c96618b17aac9662b9 (diff) |
In for loop values, introduce a dummy to protect against empty list
In constructions such as 'for x in $(MAKEVAR); do ...', there's the
possibility that $(MAKEVAR) is en empty value. Some shells don't like
that, so introduce a dummy value that gets discarded:
for x in dummy $(MAKEVAR); do
if [ "$$x" = "dummy" ]; then continue; fi
Closes RT#4459
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/conf/keysets.pl')
0 files changed, 0 insertions, 0 deletions