Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit 64e6d41

Browse files
committed
Use the -y (--symlinks) option with zip to avoid duplicates.
1 parent aeccbb5 commit 64e6d41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ Build ZIP file of Python resources for Android, including CPython compiled as a
276276
# Make a ZIP file, writing it first to `.tmp` so that we atomically clobber an
277277
# existing ZIP file rather than attempt to merge the new contents with old.
278278
pushd build/"$VERSION"/app > /dev/null
279-
zip -x@../../../excludes/all/excludes -r -"${COMPRESS_LEVEL}" "../../../dist/Python-$VERSION-Android-support${BUILD_TAG}.zip".tmp .
279+
zip -x@../../../excludes/all/excludes -y -r -"${COMPRESS_LEVEL}" "../../../dist/Python-$VERSION-Android-support${BUILD_TAG}.zip".tmp .
280280
mv "../../../dist/Python-$VERSION-Android-support${BUILD_TAG}.zip".tmp "../../../dist/Python-$VERSION-Android-support${BUILD_TAG}.zip"
281281
popd
282282
}

0 commit comments

Comments
 (0)