Skip to content

Commit 8302aab

Browse files
authored
Merge pull request #4091 from martin-frbg/ccheckfix
Fix spurious compiler error and more extraneous quotes in c_check
2 parents a98c292 + 655058d commit 8302aab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

c_check

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ flags="$*"
3131

3232
cross_suffix=""
3333

34-
if [ "`dirname \"$compiler_name\"`" != '.' ]; then
35-
cross_suffix="$cross_suffix`dirname \"$compiler_name\"`/"
34+
if [ "`dirname "$compiler_name"`" != '.' ]; then
35+
cross_suffix="$cross_suffix`dirname "$compiler_name"`/"
3636
fi
3737

38-
cn= `echo $compiler_name | sed -e 's/ -.*//'`
38+
cn=`echo $compiler_name | sed -e 's/ -.*//'`
3939
bn=`basename "$cn"`
4040

4141
case "$bn" in

0 commit comments

Comments
 (0)