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

Commit 2b72967

Browse files
authoredMay 25, 2022
Merge pull request #33 from eliteraspberries/zip-symlinks
Use the -y (--symlinks) option with zip to avoid duplicates.
2 parents 0aa7fae + a5e36a8 commit 2b72967

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎main.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ Build ZIP file of Python resources for Android, including CPython compiled as a
287287
# Make a ZIP file, writing it first to `.tmp` so that we atomically clobber an
288288
# existing ZIP file rather than attempt to merge the new contents with old.
289289
pushd build/"$VERSION"/app > /dev/null
290-
zip -x@../../../excludes/all/excludes -r -"${COMPRESS_LEVEL}" "../../../dist/Python-$VERSION-Android-support${BUILD_TAG}.zip".tmp .
290+
zip -x@../../../excludes/all/excludes -y -r -"${COMPRESS_LEVEL}" "../../../dist/Python-$VERSION-Android-support${BUILD_TAG}.zip".tmp .
291291
mv "../../../dist/Python-$VERSION-Android-support${BUILD_TAG}.zip".tmp "../../../dist/Python-$VERSION-Android-support${BUILD_TAG}.zip"
292292
popd
293293
}

0 commit comments

Comments
 (0)
This repository has been archived.