termux_step_patch_package.sh: handle @TERMUX_APP_PACKAGE@

This commit is contained in:
Leonid Pliushch 2020-10-30 22:01:57 +02:00
parent 04e93144a4
commit a668f31128
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@ termux_step_patch_package() {
echo "Applying patch: $(basename $patch)"
test -f "$patch" && sed "s%\@TERMUX_PREFIX\@%${TERMUX_PREFIX}%g" "$patch" | \
sed "s%\@TERMUX_HOME\@%${TERMUX_ANDROID_HOME}%g" | \
sed "s%\@TERMUX_APP_PACKAGE\@%${TERMUX_APP_PACKAGE}%g" | \
patch --silent -p1
done
shopt -u nullglob