imx6: fix image build for Generic profile.
[openwrt.git] / scripts / ubinize-image.sh
index 1b782a6..6762c22 100755 (executable)
@@ -65,6 +65,7 @@ while [ "$1" ]; do
        "--kernel")
                kernel="$2"
                shift
+               shift
                continue
                ;;
        "-"*)