From 835a3ac1d2522eb946ec6cfa3e1c9e58b63bb7d0 Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Sat, 19 Dec 2020 02:53:35 +0200 Subject: msm8996-common: Switch to standalone extract utils Change-Id: Ife50623a3d1b8733f5cc76995c982d8950d39ad4 --- extract-files.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'extract-files.sh') diff --git a/extract-files.sh b/extract-files.sh index 123241a..43217d5 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -22,9 +22,9 @@ set -e MY_DIR="${BASH_SOURCE%/*}" if [[ ! -d "${MY_DIR}" ]]; then MY_DIR="${PWD}"; fi -LINEAGE_ROOT="${MY_DIR}"/../../.. +ANDROID_ROOT="${MY_DIR}"/../../.. -HELPER="${LINEAGE_ROOT}/vendor/lineage/build/tools/extract_utils.sh" +HELPER="${ANDROID_ROOT}/tools/extract-utils/extract_utils.sh" if [ ! -f "${HELPER}" ]; then echo "Unable to find helper script at $HELPER" exit 1 @@ -106,7 +106,7 @@ function blob_fixup() { } # Initialize the helper for common device -setup_vendor "${DEVICE_COMMON}" "${VENDOR}" "${LINEAGE_ROOT}" true "${CLEAN_VENDOR}" +setup_vendor "${DEVICE_COMMON}" "${VENDOR}" "${ANDROID_ROOT}" true "${CLEAN_VENDOR}" extract "${MY_DIR}/proprietary-files.txt" "${SRC}" \ "${KANG}" --section "${SECTION}" @@ -114,7 +114,7 @@ extract "${MY_DIR}/proprietary-files.txt" "${SRC}" \ if [ -s "${MY_DIR}/../${DEVICE}/proprietary-files.txt" ]; then # Reinitialize the helper for device source "${MY_DIR}/../${DEVICE}/extract-files.sh" - setup_vendor "${DEVICE}" "${VENDOR}" "${LINEAGE_ROOT}" false "${CLEAN_VENDOR}" + setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}" false "${CLEAN_VENDOR}" extract "${MY_DIR}/../${DEVICE}/proprietary-files.txt" "${SRC}" \ "${KANG}" --section "${SECTION}" -- cgit v1.2.3