diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-05 17:47:34 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-05 22:32:34 +0000 |
commit | fca4e6f2ceeee1e0a63dbed367d8c34855e24521 (patch) | |
tree | b12dacf4aafe5f7d79640dfb1007dc1116541c6a /configure.ac | |
parent | db6a928a420868b2a80ba11c8d46151d16c13624 (diff) |
Some shell quoting fixes
Change-Id: I38de1e66e93086c125c94b76ac5a724439a6fb17
Reviewed-on: https://gerrit.libreoffice.org/19810
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index dc8bbf4ebbfa..cf52e9d46ad5 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 |