summaryrefslogtreecommitdiff
path: root/extract-files.sh
diff options
context:
space:
mode:
Diffstat (limited to 'extract-files.sh')
-rwxr-xr-xextract-files.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/extract-files.sh b/extract-files.sh
index a7e88f0..6c11d69 100755
--- a/extract-files.sh
+++ b/extract-files.sh
@@ -63,11 +63,11 @@ function blob_fixup() {
case "${1}" in
vendor/bin/mlipayd@1.1)
- patchelf --remove-needed vendor.xiaomi.hardware.mtdservice@1.0.so "${2}"
+ "${PATCHELF}" --remove-needed vendor.xiaomi.hardware.mtdservice@1.0.so "${2}"
;;
vendor/lib64/libmlipay.so | vendor/lib64/libmlipay@1.1.so)
- patchelf --remove-needed vendor.xiaomi.hardware.mtdservice@1.0.so "${2}"
+ "${PATCHELF}" --remove-needed vendor.xiaomi.hardware.mtdservice@1.0.so "${2}"
sed -i "s|/system/etc/firmware|/vendor/firmware\x0\x0\x0\x0|g" "${2}"
;;
esac