Browse Source

Log applied patches during build

patch-log
Luke Childs 5 years ago
parent
commit
613cfa90f4
  1. 1
      scripts/build/termux_step_patch_package.sh

1
scripts/build/termux_step_patch_package.sh

@ -10,6 +10,7 @@ termux_step_patch_package() {
# Suffix patch with ".patch32" or ".patch64" to only apply for these bitnesses:
shopt -s nullglob
for patch in $TERMUX_PKG_BUILDER_DIR/*.patch{$TERMUX_ARCH_BITS,} $DEBUG_PATCHES; do
echo "Applying patch: $(basename $patch)"
test -f "$patch" && sed "s%\@TERMUX_PREFIX\@%${TERMUX_PREFIX}%g" "$patch" | \
sed "s%\@TERMUX_HOME\@%${TERMUX_ANDROID_HOME}%g" | \
patch --silent -p1

Loading…
Cancel
Save