We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 654d87d commit 3effdc1Copy full SHA for 3effdc1
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