scripts/ubinize-image.sh: fix parameter handling
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 26 Jun 2014 11:43:42 +0000 (11:43 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 26 Jun 2014 11:43:42 +0000 (11:43 +0000)
commitb200c07469291f400cd350fb5ab84573e5741829
treef5a6e7a12d07ae3b276c3f403db57042981b22b6
parent3bd932f5d339e68e0e8d86413c73544542953908
scripts/ubinize-image.sh: fix parameter handling

ubinize-image.sh previously used ${var:offset:length} substitutions
which are not valid in standard shell.
Replace the existing parameter matching by a case ... esac expression.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41347 3c298f89-4303-0410-b956-a3cf2f4a3e73
scripts/ubinize-image.sh