sdm710-common: Fix extraction scripts
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
This commit is contained in:
parent
5f311e6a7f
commit
5bc5545a4d
2 changed files with 2 additions and 8 deletions
|
@ -18,9 +18,6 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
DEVICE=sdm710-common
|
|
||||||
VENDOR=realme
|
|
||||||
|
|
||||||
# Load extract_utils and do some sanity checks
|
# Load extract_utils and do some sanity checks
|
||||||
MY_DIR="${BASH_SOURCE%/*}"
|
MY_DIR="${BASH_SOURCE%/*}"
|
||||||
if [[ ! -d "$MY_DIR" ]]; then MY_DIR="$PWD"; fi
|
if [[ ! -d "$MY_DIR" ]]; then MY_DIR="$PWD"; fi
|
||||||
|
@ -55,7 +52,7 @@ if [ -z "$SRC" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Initialize the helper
|
# 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"
|
extract "$MY_DIR"/proprietary-files.txt "$SRC" "$SECTION"
|
||||||
|
|
||||||
|
|
|
@ -18,9 +18,6 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
DEVICE=sdm710-common
|
|
||||||
VENDOR=realme
|
|
||||||
|
|
||||||
INITIAL_COPYRIGHT_YEAR=2016
|
INITIAL_COPYRIGHT_YEAR=2016
|
||||||
|
|
||||||
# Load extract_utils and do some sanity checks
|
# Load extract_utils and do some sanity checks
|
||||||
|
@ -37,7 +34,7 @@ fi
|
||||||
. "$HELPER"
|
. "$HELPER"
|
||||||
|
|
||||||
# Initialize the helper
|
# Initialize the helper
|
||||||
setup_vendor "$DEVICE" "$VENDOR" "$LINEAGE_ROOT"
|
setup_vendor "$DEVICE_COMMON" "$VENDOR" "$LINEAGE_ROOT"
|
||||||
|
|
||||||
# Copyright headers and guards
|
# Copyright headers and guards
|
||||||
write_headers
|
write_headers
|
||||||
|
|
Loading…
Reference in a new issue