sanders: Fix script path in these files

Signed-off-by: Jorge Lucas <jorgelucas.sd@gmail.com>
This commit is contained in:
Jorge Lucas
2019-11-07 23:41:44 +01:00
parent 33eba28e69
commit f63f158274
2 changed files with 6 additions and 6 deletions

View File

@@ -24,9 +24,9 @@ VENDOR=motorola
MY_DIR="${BASH_SOURCE%/*}"
if [[ ! -d "$MY_DIR" ]]; then MY_DIR="$PWD"; fi
CM_ROOT="$MY_DIR"/../../..
AOSP_ROOT="$MY_DIR"/../../..
HELPER="$CM_ROOT"/vendor/cm/build/tools/extract_utils.sh
HELPER="$AOSP_ROOT"/vendor/aosp/build/tools/extract_utils.sh
if [ ! -f "$HELPER" ]; then
echo "Unable to find helper script at $HELPER"
exit 1
@@ -50,7 +50,7 @@ else
fi
# Initialize the helper
setup_vendor "$DEVICE" "$VENDOR" "$CM_ROOT"
setup_vendor "$DEVICE" "$VENDOR" "$AOSP_ROOT"
extract "$MY_DIR"/proprietary-files.txt "$SRC"

View File

@@ -25,9 +25,9 @@ VENDOR=motorola
MY_DIR="${BASH_SOURCE%/*}"
if [[ ! -d "$MY_DIR" ]]; then MY_DIR="$PWD"; fi
CM_ROOT="$MY_DIR"/../../..
AOSP_ROOT="$MY_DIR"/../../..
HELPER="$CM_ROOT"/vendor/cm/build/tools/extract_utils.sh
HELPER="$AOSP_ROOT"/vendor/aosp/build/tools/extract_utils.sh
if [ ! -f "$HELPER" ]; then
echo "Unable to find helper script at $HELPER"
exit 1
@@ -35,7 +35,7 @@ fi
. "$HELPER"
# Initialize the helper
setup_vendor "$DEVICE" "$VENDOR" "$CM_ROOT"
setup_vendor "$DEVICE" "$VENDOR" "$AOSP_ROOT"
# Copyright headers and guards
write_headers