scripts/ubinize-image.sh: fix parameter handling
authorJohn Crispin <john@openwrt.org>
Thu, 26 Jun 2014 11:43:42 +0000 (11:43 +0000)
committerJohn Crispin <john@openwrt.org>
Thu, 26 Jun 2014 11:43:42 +0000 (11:43 +0000)
commit0f39877bacc59049eb0185a93abbcbe23f180bde
treeb54b10c1f37abbf827ecbca25e8df318d2142dfb
parentbaa534a8b7331541e6e522ba33b33476e3f67589
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>
SVN-Revision: 41347
scripts/ubinize-image.sh