Skip to content

Commit 2a15777

Browse files
committed
build: Remove TKLiveSync directory before copying in it
2nd run of this script always failed due to the directory's existence
1 parent 0ac31a0 commit 2a15777

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build/scripts/build-livesync-static-lib.sh

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ xcodebuild \
3333
-quiet
3434

3535
checkpoint "Packaging TKLiveSync.framework"
36+
rm -rf "$WORKSPACE/dist/TKLiveSync"
3637
mkdir -p "$WORKSPACE/dist/TKLiveSync/"
3738
cp -r "build/Release-iphoneos/TKLiveSync.framework/Headers" "$WORKSPACE/dist/TKLiveSync"
3839
mv "$WORKSPACE/dist/TKLiveSync/Headers" "$WORKSPACE/dist/TKLiveSync/include"

0 commit comments

Comments
 (0)