[FFmpeg-cvslog] configure: Don't run "export $e" for an empty string

Martin Storsjö git at videolan.org
Wed Jun 3 18:37:54 CEST 2015


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Tue Jun  2 22:55:52 2015 +0300| [76eb0950b8d82b1e9617b9c854f091e13bb23131] | committer: 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: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=76eb0950b8d82b1e9617b9c854f091e13bb23131
---

 configure |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 2458adb..1ed8956 100755
--- 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
 



More information about the ffmpeg-cvslog mailing list