From f1cb02a4b18a4c483b22ec104fc320aeb156e5f5 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Wed, 19 Aug 2015 21:21:04 -0400 Subject: [PATCH] build-package.sh fix for termux_step_post_massage --- build-package.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-package.sh b/build-package.sh index 09708864a..4f7334539 100755 --- a/build-package.sh +++ b/build-package.sh @@ -429,7 +429,7 @@ termux_step_massage () { done set -e -o pipefail # Remove DT_ entries which the android 5.1 linker warns about: - find . -type f | xargs $TERMUX_ELF_CLEANER + find . -type f -print0 | xargs -0 $TERMUX_ELF_CLEANER test ! -z "$TERMUX_PKG_RM_AFTER_INSTALL" && rm -Rf $TERMUX_PKG_RM_AFTER_INSTALL @@ -610,7 +610,7 @@ cd $TERMUX_PKG_MASSAGEDIR termux_step_extract_into_massagedir cd $TERMUX_PKG_MASSAGEDIR termux_step_massage -cd $TERMUX_PKG_MASSAGEDIR +cd $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX termux_step_post_massage # Create data tarball containing files to package: