Skip to content

Commit 93fe6c5

Browse files
committed
Fix directory cleanup command in build-toolchain.sh
1 parent 2a7b8b7 commit 93fe6c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/webassembly/build-toolchain.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ $SOURCE_PATH/swift/utils/build-script \
5353
# Clean up the host toolchain build directory so that the next
5454
# `build-script` invocation doesn't pick up wrong CMake config files.
5555
# For some reason passing `--reconfigure` to `build-script` won't do this.
56-
rm -rf $SOURCE_PATH/build/Ninja-ReleaseAssert/swift-macosx-x86_64
56+
rm -rf $SOURCE_PATH/build/Ninja-ReleaseAssert/swift-*
5757

5858
# build the cross-compilled toolchain
5959
$SOURCE_PATH/swift/utils/build-script \

0 commit comments

Comments
 (0)