Skip to content

Commit 71263df

Browse files
author
Christian Compton
committed
binary packaging modifications
1 parent 0051f0e commit 71263df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/compile.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,11 +252,11 @@ status "Bin path: $BIN_PATH"
252252
# These should be statically linked, seems a Swift bug.
253253
status "Copying dynamic libraries"
254254
cp --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
256256
cp $BIN_PATH/*.so $BUILD_DIR/.swift-lib 2>/dev/null || true
257257
# Copying additional dynamic libraries
258258
cp $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

261261
status "Copying binaries to 'bin'"
262262
find $BIN_PATH -type f -perm /a+x -exec cp {} $BUILD_DIR/.swift-bin \;

0 commit comments

Comments
 (0)