Merge pull request #4091 from martin-frbg/ccheckfix
Fix spurious compiler error and more extraneous quotes in c_check
This commit is contained in:
commit
8302aabcdb
6
c_check
6
c_check
|
@ -31,11 +31,11 @@ flags="$*"
|
||||||
|
|
||||||
cross_suffix=""
|
cross_suffix=""
|
||||||
|
|
||||||
if [ "`dirname \"$compiler_name\"`" != '.' ]; then
|
if [ "`dirname "$compiler_name"`" != '.' ]; then
|
||||||
cross_suffix="$cross_suffix`dirname \"$compiler_name\"`/"
|
cross_suffix="$cross_suffix`dirname "$compiler_name"`/"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cn= `echo $compiler_name | sed -e 's/ -.*//'`
|
cn=`echo $compiler_name | sed -e 's/ -.*//'`
|
||||||
bn=`basename "$cn"`
|
bn=`basename "$cn"`
|
||||||
|
|
||||||
case "$bn" in
|
case "$bn" in
|
||||||
|
|
Loading…
Reference in New Issue