1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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

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