Skip to content

Commit ae35be0

Browse files
committed
Increase cp/rsync verbosity, fix destination path
1 parent 9a87e54 commit ae35be0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

utils/webassembly/build-toolchain.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ 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 -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
85-
cp -a $SOURCE_PATH/install/$TOOLCHAIN_NAME/usr/lib/swift_static $HOST_TOOLCHAIN_SDK/usr/lib/swift_static
86-
cp -a $SOURCE_PATH/install/$TOOLCHAIN_NAME/usr/lib/swift/wasi $HOST_TOOLCHAIN_SDK/usr/lib/swift
85+
cp -v -a $SOURCE_PATH/install/$TOOLCHAIN_NAME/usr/lib/swift_static $HOST_TOOLCHAIN_SDK/usr/lib/swift_static
86+
cp -v -a $SOURCE_PATH/install/$TOOLCHAIN_NAME/usr/lib/swift/wasi $HOST_TOOLCHAIN_SDK/usr/lib/swift
8787
fi
8888

8989
cd $HOST_TOOLCHAIN_DESTDIR

0 commit comments

Comments
 (0)