OSDN Git Service

configure: Don't run "export $e" for an empty string
authorMartin Storsjö <martin@martin.st>
Tue, 2 Jun 2015 19:55:52 +0000 (22:55 +0300)
committerMartin Storsjö <martin@martin.st>
Wed, 3 Jun 2015 12:27:42 +0000 (15:27 +0300)
This fixes the side effect of printing the whole environment,
if no --env parameter was provided.

Signed-off-by: Martin Storsjö <martin@martin.st>
configure

index 2458adb..1ed8956 100755 (executable)
--- a/configure
+++ b/configure
@@ -2543,7 +2543,7 @@ for opt do
     esac
 done
 
-for e in "$env"; do
+for e in $env; do
     eval "export $e"
 done