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: Martin Storsjö <martin@martin.st>
This commit is contained in:
Martin Storsjö 2015-06-02 22:55:52 +03:00
parent 876d441fbe
commit 76eb0950b8
1 changed files with 1 additions and 1 deletions

2
configure vendored
View File

@ -2543,7 +2543,7 @@ for opt do
esac
done
for e in "$env"; do
for e in $env; do
eval "export $e"
done