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 1b782a6cdc736b7fb2a0b76aea020b527051d1cf..6762c22bc4a6e27a149b36953dcb02c4796a7d52 100755 (executable)
@@ -65,6 +65,7 @@ while [ "$1" ]; do
        "--kernel")
                kernel="$2"
                shift
+               shift
                continue
                ;;
        "-"*)