From 926ffa1d340163aff8568dab9511440727d779d3 Mon Sep 17 00:00:00 2001 From: Dave Kennedy Date: Wed, 10 Feb 2016 23:39:12 -0700 Subject: [PATCH] Fixed -b --- mkstage4.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mkstage4.sh b/mkstage4.sh index 6b37ef5..14330d9 100755 --- a/mkstage4.sh +++ b/mkstage4.sh @@ -13,7 +13,7 @@ EXCLUDE_CONNMAN=0 QUIET=0 # reads options: -while getopts ':t:sqc' flag; do +while getopts ':t:sqcb' flag; do case "${flag}" in t) TARGET="$OPTARG" @@ -104,7 +104,7 @@ fi if [ ${EXCLUDE_BOOT} -eq 1 ] then - EXCLUDES+=" --exclude=$boot/*" + EXCLUDES+=" --exclude=boot/*" fi # Generic tar options: