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)
commitadebef0b26f573c1dc8507251faeb7a30c2b971a
treef5a6e7a12d07ae3b276c3f403db57042981b22b6
parentb9e2a50fe8d1b278160b2159b42a4df364f7a335
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