Skip to content

Commit 080a388

Browse files
committed
Use slashes at the end of rsync paths
1 parent ae35be0 commit 080a388

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
@@ -80,7 +80,7 @@ sed -i -e "s@\".*/include@\"../../../../share/wasi-sysroot/include@g" $SOURCE_PA
8080
if [[ "$(uname)" == "Linux" ]]; then
8181
# Avoid copying usr/lib/swift/clang because our toolchain's one is a directory
8282
# but nightly's one is symbolic link. A simple copy fails to merge them.
83-
rsync -v -a $SOURCE_PATH/install/$TOOLCHAIN_NAME/usr/lib $HOST_TOOLCHAIN_SDK/usr/lib --exclude 'swift/clang'
83+
rsync -v -a $SOURCE_PATH/install/$TOOLCHAIN_NAME/usr/lib/ $HOST_TOOLCHAIN_SDK/usr/lib/ --exclude 'swift/clang'
8484
else
8585
cp -v -a $SOURCE_PATH/install/$TOOLCHAIN_NAME/usr/lib/swift_static $HOST_TOOLCHAIN_SDK/usr/lib/swift_static
8686
cp -v -a $SOURCE_PATH/install/$TOOLCHAIN_NAME/usr/lib/swift/wasi $HOST_TOOLCHAIN_SDK/usr/lib/swift

0 commit comments

Comments
 (0)