scripts/ubinize-image.sh: fix ubinize-image.sh when used with --kernel
authorJohn Crispin <john@openwrt.org>
Sun, 29 Jun 2014 06:59:29 +0000 (06:59 +0000)
committerJohn Crispin <john@openwrt.org>
Sun, 29 Jun 2014 06:59:29 +0000 (06:59 +0000)
r41359 broke support for building ubinized images which do
include a kernel volume.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 41368

scripts/ubinize-image.sh

index 1b782a6..6762c22 100755 (executable)
@@ -65,6 +65,7 @@ while [ "$1" ]; do
        "--kernel")
                kernel="$2"
                shift
+               shift
                continue
                ;;
        "-"*)