scripts/ubinize-image.sh: fix parameter handling
authorJohn Crispin <blogic@openwrt.org>
Thu, 26 Jun 2014 11:43:42 +0000 (11:43 +0000)
committerJohn Crispin <blogic@openwrt.org>
Thu, 26 Jun 2014 11:43:42 +0000 (11:43 +0000)
commite327858613b4d83b5873a372ef669f1f78782a9a
treef5a6e7a12d07ae3b276c3f403db57042981b22b6
parentd1d6c6e2214103e88765ca04797896b4ab33d001
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