Skip to content

Commit 11a8371

Browse files
committed
Check that clang.exe exists before moving it to clang-<major>.exe
1 parent 32668f3 commit 11a8371

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install-wrappers.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ for arch in $ARCHS; do
6767
done
6868
done
6969
if [ -n "$EXEEXT" ]; then
70-
if [ ! -L clang$EXEEXT ]; then
70+
if [ ! -L clang$EXEEXT ] && [ -f clang$EXEEXT ]; then
7171
mv clang$EXEEXT clang-$CLANG_MAJOR$EXEEXT
7272
fi
7373
if [ -z "$HOST" ]; then

0 commit comments

Comments
 (0)