diff options
Diffstat (limited to 'extract-files.sh')
-rwxr-xr-x | extract-files.sh | 8 |
1 files changed, 4 insertions, 4 deletions
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}" |