We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 654d87d + 3effdc1 commit 326b200Copy full SHA for 326b200
1 file changed
c_check
@@ -35,9 +35,12 @@ if [ "`dirname \"$compiler_name\"`" != '.' ]; then
35
cross_suffix="$cross_suffix`dirname \"$compiler_name\"`/"
36
fi
37
38
-bn=`basename $compiler_name`
+bn=`basename \"$compiler_name\"`
39
+
40
case "$bn" in
- *-*) cross_suffix="$cross_suffix${bn%-*}-"
41
+ *-*) if [ "$bn" != '-']; then
42
+ cross_suffix="$cross_suffix${bn%-*}-"
43
+ fi
44
esac
45
46
compiler=""
0 commit comments