Commit 76eb0950 authored by Martin Storsjö's avatar Martin Storsjö

configure: Don't run "export $e" for an empty string

This fixes the side effect of printing the whole environment,
if no --env parameter was provided.
Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent 876d441f
......@@ -2543,7 +2543,7 @@ for opt do
esac
done
for e in "$env"; do
for e in $env; do
eval "export $e"
done
......
Markdown is supported
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