From 3608c79f7a3156bf340643d23ba285555b8ee584 Mon Sep 17 00:00:00 2001 From: Darshan Manjrekar Date: Wed, 30 Aug 2017 16:54:18 +0800 Subject: [PATCH] land: Update blobs extraction script Signed-off-by: Darshan Manjrekar --- extract-files.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/extract-files.sh b/extract-files.sh index 21a45cf..b3374a6 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -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"