[Libreoffice-commits] core.git: configure.ac
Stephan Bergmann
sbergman at redhat.com
Thu Nov 5 14:33:01 PST 2015
configure.ac | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
New commits:
commit fca4e6f2ceeee1e0a63dbed367d8c34855e24521
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Nov 5 17:47:34 2015 +0100
Some shell quoting fixes
Change-Id: I38de1e66e93086c125c94b76ac5a724439a6fb17
Reviewed-on: https://gerrit.libreoffice.org/19810
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
Tested-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/configure.ac b/configure.ac
index dc8bbf4..cf52e9d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3691,11 +3691,10 @@ if test "$_os" = "WINNT"; then
# Remove /cl.exe from CC case insensitive
AC_MSG_RESULT([found Visual C++ $vcyear $vcexpress ($CC)])
if test "$BITNESS_OVERRIDE" = ""; then
- COMPATH=`echo $CC | $SED -e 's@\/[[Bb]][[Ii]][[Nn]]\/[[cC]][[lL]]\.[[eE]][[xX]][[eE]].*@@' -e 's@^.* @@'`
+ COMPATH=`echo "$CC" | $SED -e 's@\/[[Bb]][[Ii]][[Nn]]\/[[cC]][[lL]]\.[[eE]][[xX]][[eE]].*@@' -e 's@^.* @@'`
else
if test -n "$VC_PRODUCT_DIR"; then
- # Huh, why not just an assignment?
- COMPATH=`echo $VC_PRODUCT_DIR`
+ COMPATH=$VC_PRODUCT_DIR
fi
fi
if test "$BITNESS_OVERRIDE" = ""; then
More information about the Libreoffice-commits
mailing list