fix spurious compiler error and more extraneous quotes

This commit is contained in:
Martin Kroeker 2023-06-19 14:58:35 +02:00 committed by GitHub
parent a98c292a91
commit 655058dd21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -31,11 +31,11 @@ flags="$*"
cross_suffix=""
if [ "`dirname \"$compiler_name\"`" != '.' ]; then
cross_suffix="$cross_suffix`dirname \"$compiler_name\"`/"
if [ "`dirname "$compiler_name"`" != '.' ]; then
cross_suffix="$cross_suffix`dirname "$compiler_name"`/"
fi
cn= `echo $compiler_name | sed -e 's/ -.*//'`
cn=`echo $compiler_name | sed -e 's/ -.*//'`
bn=`basename "$cn"`
case "$bn" in