summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-06-29 06:59:29 +0000
committerJohn Crispin <john@openwrt.org>2014-06-29 06:59:29 +0000
commitd1898b84c6f33c6c11acf1d4e068870146ea062e (patch)
treed7deaa8a41931502134500ab8c742a242dc455d8 /scripts
parenta75354ef53ad530aca0177553a4baf4cc825901d (diff)
downloadmtk-20170518-d1898b84c6f33c6c11acf1d4e068870146ea062e.zip
mtk-20170518-d1898b84c6f33c6c11acf1d4e068870146ea062e.tar.gz
mtk-20170518-d1898b84c6f33c6c11acf1d4e068870146ea062e.tar.bz2
scripts/ubinize-image.sh: fix ubinize-image.sh when used with --kernel
r41359 broke support for building ubinized images which do include a kernel volume. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 41368
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ubinize-image.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/ubinize-image.sh b/scripts/ubinize-image.sh
index 1b782a6..6762c22 100755
--- a/scripts/ubinize-image.sh
+++ b/scripts/ubinize-image.sh
@@ -65,6 +65,7 @@ while [ "$1" ]; do
"--kernel")
kernel="$2"
shift
+ shift
continue
;;
"-"*)