From 5bc5545a4d7f43114c6e6191d071fa2e16aa112a Mon Sep 17 00:00:00 2001 From: SamarV-121 Date: Mon, 7 Oct 2019 17:57:45 +0530 Subject: [PATCH] sdm710-common: Fix extraction scripts Signed-off-by: SamarV-121 --- extract-files.sh | 5 +---- setup-makefiles.sh | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/extract-files.sh b/extract-files.sh index 7fb9c1b..260fa73 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -18,9 +18,6 @@ set -e -DEVICE=sdm710-common -VENDOR=realme - # Load extract_utils and do some sanity checks MY_DIR="${BASH_SOURCE%/*}" if [[ ! -d "$MY_DIR" ]]; then MY_DIR="$PWD"; fi @@ -55,7 +52,7 @@ if [ -z "$SRC" ]; then fi # Initialize the helper -setup_vendor "$DEVICE" "$VENDOR" "$LINEAGE_ROOT" false "$CLEAN_VENDOR" +setup_vendor "$DEVICE_COMMON" "$VENDOR" "$LINEAGE_ROOT" false "$CLEAN_VENDOR" extract "$MY_DIR"/proprietary-files.txt "$SRC" "$SECTION" diff --git a/setup-makefiles.sh b/setup-makefiles.sh index 399a051..92f58fd 100755 --- a/setup-makefiles.sh +++ b/setup-makefiles.sh @@ -18,9 +18,6 @@ set -e -DEVICE=sdm710-common -VENDOR=realme - INITIAL_COPYRIGHT_YEAR=2016 # Load extract_utils and do some sanity checks @@ -37,7 +34,7 @@ fi . "$HELPER" # Initialize the helper -setup_vendor "$DEVICE" "$VENDOR" "$LINEAGE_ROOT" +setup_vendor "$DEVICE_COMMON" "$VENDOR" "$LINEAGE_ROOT" # Copyright headers and guards write_headers