scripts: Fix to not skip some option parameters for rpi4 fusing script 15/300915/1 tizen_8.0
authorSangYoun Kwak <sy.kwak@samsung.com>
Thu, 2 Nov 2023 07:22:08 +0000 (16:22 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 6 Nov 2023 02:56:21 +0000 (11:56 +0900)
commit225a6dfb44c6f8dbcc1a505d9cb5912e9079cad5
tree4a4b6b6edf97fda76501504abc80d49d522ee38a
parentab228e03ff7212dad118a6174dbe0b8f58910a3e
scripts: Fix to not skip some option parameters for rpi4 fusing script

The option '--update' can take no argument or one argument('b') but its
parsing script does 'shift' even it takes no argument.
It is fixed by doing 'shift' only if there is a valid argument('b').

The option '--skip-resize' takes no argument but the parsing script
does 'shift'.
It is fixed by removing 'shift'.

Change-Id: Iaf40a86ca7999eb8d0da22e0c14e384fb0cb4826
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
scripts/tizen/sd_fusing_rpi4.sh