universal7885: Adapt for new extraction script location

Change-Id: Ife50623a3d1b8733f5cc76995c982d8950d39ad4
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
This commit is contained in:
Michael Bestas 2020-12-19 02:53:35 +02:00 committed by roynatech2544
commit 83cea22677
2 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
# #
# Copyright (C) 2018-2019 The LineageOS Project # Copyright (C) 2017-2020 The LineageOS Project
# #
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
# #
@ -13,7 +13,7 @@ if [[ ! -d "${MY_DIR}" ]]; then MY_DIR="${PWD}"; fi
LINEAGE_ROOT="${MY_DIR}"/../../.. LINEAGE_ROOT="${MY_DIR}"/../../..
HELPER="${LINEAGE_ROOT}/vendor/lineage/build/tools/extract_utils.sh" HELPER="${LINEAGE_ROOT}/tools/extract-utils/extract_utils.sh"
if [ ! -f "${HELPER}" ]; then if [ ! -f "${HELPER}" ]; then
echo "Unable to find helper script at ${HELPER}" echo "Unable to find helper script at ${HELPER}"
exit 1 exit 1

View file

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
# #
# Copyright (C) 2018-2019 The LineageOS Project # Copyright (C) 2017-2020 The LineageOS Project
# #
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
# #
@ -15,7 +15,7 @@ if [[ ! -d "${MY_DIR}" ]]; then MY_DIR="${PWD}"; fi
LINEAGE_ROOT="${MY_DIR}/../../.." LINEAGE_ROOT="${MY_DIR}/../../.."
HELPER="${LINEAGE_ROOT}/vendor/lineage/build/tools/extract_utils.sh" HELPER="${LINEAGE_ROOT}/tools/extract-utils/extract_utils.sh"
if [ ! -f "${HELPER}" ]; then if [ ! -f "${HELPER}" ]; then
echo "Unable to find helper script at ${HELPER}" echo "Unable to find helper script at ${HELPER}"
exit 1 exit 1