diff options
author | Michael Bestas <mkbestas@lineageos.org> | 2020-12-19 02:53:35 +0200 |
---|---|---|
committer | Bruno Martins <bgcngm@gmail.com> | 2020-12-28 10:14:46 +0000 |
commit | 8f82a58987b31f82b79068b18f141ff4adb8b4ef (patch) | |
tree | 4705494de120b3a8100b721a63fd62a5997b4ac1 | |
parent | 490e38efd748f0c623baab1e4cb1f4adb34f43d1 (diff) |
Adapt for new script location
Change-Id: I8758d7b167b96bd04308bf3d3fcb059feb7fdcc2
-rw-r--r-- | extract_utils.sh | 2 | ||||
-rwxr-xr-x | templates/single-device/extract-files.sh | 4 | ||||
-rwxr-xr-x | templates/single-device/setup-makefiles.sh | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/extract_utils.sh b/extract_utils.sh index 3e85100..c39858b 100644 --- a/extract_utils.sh +++ b/extract_utils.sh @@ -1549,7 +1549,7 @@ function extract() { fi if [ -a "$DUMPDIR"/"$PARTITION".new.dat ]; then echo "Converting "$PARTITION".new.dat to "$PARTITION".img" - python "$LINEAGE_ROOT"/vendor/lineage/build/tools/sdat2img.py "$DUMPDIR"/"$PARTITION".transfer.list "$DUMPDIR"/"$PARTITION".new.dat "$DUMPDIR"/"$PARTITION".img 2>&1 + python "$LINEAGE_ROOT"/tools/extract-utils/sdat2img.py "$DUMPDIR"/"$PARTITION".transfer.list "$DUMPDIR"/"$PARTITION".new.dat "$DUMPDIR"/"$PARTITION".img 2>&1 rm -rf "$DUMPDIR"/"$PARTITION".new.dat "$DUMPDIR"/"$PARTITION" mkdir "$DUMPDIR"/"$PARTITION" "$DUMPDIR"/tmp echo "Requesting sudo access to mount the "$PARTITION".img" diff --git a/templates/single-device/extract-files.sh b/templates/single-device/extract-files.sh index fede670..df76ec3 100755 --- a/templates/single-device/extract-files.sh +++ b/templates/single-device/extract-files.sh @@ -1,7 +1,7 @@ #!/bin/bash # # Copyright (C) 2016 The CyanogenMod Project -# Copyright (C) 2017 The LineageOS Project +# Copyright (C) 2017-2020 The LineageOS Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -27,7 +27,7 @@ if [[ ! -d "${MY_DIR}" ]]; then MY_DIR="${PWD}"; fi 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 echo "Unable to find helper script at ${HELPER}" exit 1 diff --git a/templates/single-device/setup-makefiles.sh b/templates/single-device/setup-makefiles.sh index 51b4ba2..cfa7d46 100755 --- a/templates/single-device/setup-makefiles.sh +++ b/templates/single-device/setup-makefiles.sh @@ -1,7 +1,7 @@ #!/bin/bash # # Copyright (C) 2016 The CyanogenMod Project -# Copyright (C) 2017 The LineageOS Project +# Copyright (C) 2017-2020 The LineageOS Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -29,7 +29,7 @@ if [[ ! -d "$MY_DIR" ]]; then MY_DIR="$PWD"; fi 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 echo "Unable to find helper script at $HELPER" exit 1 |