strip-llvm: Fix name mangling of tools that contain $EXEEXT
This makes sure that llvm-exegesis is handled correctly (i.e. stripped out) if build-llvm.sh was invoked with --full-llvm when building for windows.
This commit is contained in:
1 parent
66eb0af305
commit
5fc9728420
1 file changed
+1
-1
+1
-1
@@ -58,7 +58,7 @@ for i in bugpoint c-index-test clang-* diagtool dsymutil git-clang-format hmapto
|
|||||||
# Some in the list are expanded globs, some are plain names we list.
|
# Some in the list are expanded globs, some are plain names we list.
|
||||||
case $i in
|
case $i in
|
||||||
*$EXEEXT)
|
*$EXEEXT)
|
||||||
basename=$(echo $i | sed s/$EXEEXT//)
|
basename=$(echo $i | sed "s/$EXEEXT\$//")
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
i=$basename
|
i=$basename
|
||||||
|
|||||||
Reference in new issue
Block a user