Commit 2b364f61 authored by Richard Levitte's avatar Richard Levitte
Browse files

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: default avatarRich Salz <rsalz@openssl.org>
parent 8d9fb8c8
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment