]> granicus.if.org Git - libvpx/commitdiff
configure.sh: quote local variables
authorJames Zern <jzern@google.com>
Thu, 6 Mar 2014 23:58:37 +0000 (15:58 -0800)
committerJames Zern <jzern@google.com>
Thu, 6 Mar 2014 23:58:37 +0000 (15:58 -0800)
fixes issue #711

specifying a multiword CC, e.g., CC='gcc -m32', would cause the failure
under dash

reported in
https://bugs.gentoo.org/show_bug.cgi?id=498136

patch by floppymaster at gmail dot com

Change-Id: I2ba246f765646161538622739961ec0f6c2d8c2d

build/make/configure.sh

index 449d1b9f8ebe06f73c5c1e0255bd30b6effb6ae7..43f8e77924573aa6ed575d08181ab46453418f99 100755 (executable)
@@ -405,8 +405,8 @@ true
 }
 
 write_common_target_config_mk() {
-    local CC=${CC}
-    local CXX=${CXX}
+    local CC="${CC}"
+    local CXX="${CXX}"
     enabled ccache && CC="ccache ${CC}"
     enabled ccache && CXX="ccache ${CXX}"
     print_webm_license $1 "##" ""