From b7847ef917202f7b6c9509b607702c9f8f8ac373 Mon Sep 17 00:00:00 2001 From: dianlujitao Date: Sat, 1 Apr 2023 14:44:07 +0800 Subject: [PATCH] umi: Replace TMPDIR with EXTRACT_TMP_DIR Change-Id: I66146a0805a830ccf24db6e4cd57b229481ba6b0 --- extract-files.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extract-files.sh b/extract-files.sh index 94106c89..ec6797be 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -56,8 +56,8 @@ fi function blob_fixup() { case "${1}" in vendor/lib64/vendor.qti.hardware.camera.postproc@1.0-service-impl.so) - hexdump -ve '1/1 "%.2X"' "${2}" | sed "s/210080529A0A0094/210080521F2003D5/g" | xxd -r -p > "${TMPDIR}/${1##*/}" - mv "${TMPDIR}/${1##*/}" "${2}" + hexdump -ve '1/1 "%.2X"' "${2}" | sed "s/210080529A0A0094/210080521F2003D5/g" | xxd -r -p > "${EXTRACT_TMP_DIR}/${1##*/}" + mv "${EXTRACT_TMP_DIR}/${1##*/}" "${2}" ;; vendor/lib64/camera/components/com.mi.node.watermark.so ) $PATCHELF --add-needed "libpiex_shim.so" "${2}"