File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -252,11 +252,11 @@ status "Bin path: $BIN_PATH"
252252# These should be statically linked, seems a Swift bug.
253253status " Copying dynamic libraries"
254254cp --preserve=links $SWIFT_PATH /usr/lib/swift/linux/* .so $BUILD_DIR /.swift-lib
255- cp --preserve=links -f $SWIFT_PATH /usr/lib/swift/linux/* .so.* $BUILD_DIR /.swift-lib
255+ cp --preserve=links $SWIFT_PATH /usr/lib/swift/linux/* .so.* $BUILD_DIR /.swift-lib 2> /dev/null || true
256256cp $BIN_PATH /* .so $BUILD_DIR /.swift-lib 2> /dev/null || true
257257# Copying additional dynamic libraries
258258cp $SWIFT_PATH /usr/lib/* .so $BUILD_DIR /.swift-lib
259- cp -f $SWIFT_PATH /usr/lib/* .so.* $BUILD_DIR /.swift-lib
259+ cp $SWIFT_PATH /usr/lib/* .so.* $BUILD_DIR /.swift-lib 2> /dev/null || true
260260
261261status " Copying binaries to 'bin'"
262262find $BIN_PATH -type f -perm /a+x -exec cp {} $BUILD_DIR /.swift-bin \;
You can’t perform that action at this time.
0 commit comments