land: Update blobs extraction script
Signed-off-by: Darshan Manjrekar <darshanmanjrekar1205@gmail.com>
This commit is contained in:
parent
7684ff0806
commit
3608c79f7a
1 changed files with 5 additions and 5 deletions
|
@ -34,8 +34,8 @@ if [ ! -f "$HELPER" ]; then
|
|||
fi
|
||||
. "$HELPER"
|
||||
|
||||
# default to not sanitizing the vendor folder before extraction
|
||||
clean_vendor=false
|
||||
# Default to sanitizing the vendor folder before extraction
|
||||
CLEAN_VENDOR=true
|
||||
|
||||
while [ "$1" != "" ]; do
|
||||
case $1 in
|
||||
|
@ -44,9 +44,9 @@ while [ "$1" != "" ]; do
|
|||
;;
|
||||
-s | --section ) shift
|
||||
SECTION=$1
|
||||
clean_vendor=false
|
||||
CLEAN_VENDOR=false
|
||||
;;
|
||||
-c | --clean-vendor ) clean_vendor=true
|
||||
-n | --no-cleanup ) CLEAN_VENDOR=false
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
|
@ -57,7 +57,7 @@ if [ -z "$SRC" ]; then
|
|||
fi
|
||||
|
||||
# Initialize the helper
|
||||
setup_vendor "$DEVICE" "$VENDOR" "$CM_ROOT" false $clean_vendor
|
||||
setup_vendor "$DEVICE" "$VENDOR" "$CM_ROOT" false "$CLEAN_VENDOR"
|
||||
|
||||
extract "$MY_DIR"/proprietary-files.txt "$SRC" "$SECTION"
|
||||
|
||||
|
|
Loading…
Reference in a new issue