Update c_check

This commit is contained in:
Martin Kroeker 2023-04-07 18:13:07 +02:00 committed by GitHub
parent 8a1459423e
commit 4a888566fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ if [ "`dirname \"$compiler_name\"`" != '.' ]; then
cross_suffix="$cross_suffix`dirname \"$compiler_name\"`/"
fi
bn=`basename \"$compiler_name\"`
bn=`basename -z \"$compiler_name\"`
case "$bn" in
*-*) cross_suffix="$cross_suffix${bn%-*}-"
esac