From 0b4d758d6df32f61bf3600d85d2535a10bfde806 Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Sun, 11 Aug 2019 03:26:54 +0300 Subject: [PATCH] fix typo in termux_step_massage.sh --- scripts/build/termux_step_massage.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build/termux_step_massage.sh b/scripts/build/termux_step_massage.sh index da8abd8b9..61d752150 100644 --- a/scripts/build/termux_step_massage.sh +++ b/scripts/build/termux_step_massage.sh @@ -19,14 +19,14 @@ termux_step_massage() { if [ "$TERMUX_DEBUG" = "" ]; then # Strip binaries. file(1) may fail for certain unusual files, so disable pipefail. set +e +o pipefail - find \( -path "./bin/*" -o -path "./lib/*" -o -path "./libexec/*" \) -type f | \ + find . \( -path "./bin/*" -o -path "./lib/*" -o -path "./libexec/*" \) -type f | \ xargs -r file | grep -E "ELF .+ (executable|shared object)" | cut -f 1 -d : | \ xargs -r "$STRIP" --strip-unneeded --preserve-dates set -e -o pipefail fi # Remove entries unsupported by Android's linker: - find \( -path "./bin/*" -o -path "./lib/*" -o -path "./libexec/*" \) -type f -print0 | xargs -r -0 "$TERMUX_ELF_CLEANER" + find . \( -path "./bin/*" -o -path "./lib/*" -o -path "./libexec/*" \) -type f -print0 | xargs -r -0 "$TERMUX_ELF_CLEANER" # Fix shebang paths: while IFS= read -r -d '' file