sdm710-common: Fix extraction scripts

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
This commit is contained in:
SamarV-121 2019-10-07 17:57:45 +05:30
parent 5f311e6a7f
commit 5bc5545a4d
2 changed files with 2 additions and 8 deletions

View file

@ -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"

View file

@ -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