termux_step_extract_into_massagedir.sh: don't add tmp/ files to packages, particularly on-device

This commit is contained in:
Butta 2020-02-07 00:22:50 +05:30
parent 7bb30bfd47
commit 68a4e3e163

View File

@ -4,7 +4,7 @@ termux_step_extract_into_massagedir() {
# Build diff tar with what has changed during the build: # Build diff tar with what has changed during the build:
cd $TERMUX_PREFIX cd $TERMUX_PREFIX
tar -N "$TERMUX_BUILD_TS_FILE" \ tar -N "$TERMUX_BUILD_TS_FILE" \
--exclude='lib/libutil.so' \ --exclude='lib/libutil.so' --exclude='tmp' \
-czf "$TARBALL_ORIG" . -czf "$TARBALL_ORIG" .
# Extract tar in order to massage it # Extract tar in order to massage it