mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-01-26 00:23:26 +00:00
mvebu: remove bashism
"[[" is a bash extension for test. As the ash-implementation is not fully compatible we drop its usage. Signed-off-by: Sven Roederer <devel-sven@geroedel.de> [split patch, remove shebang, adjust commit title/message] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
parent
0fecc997f8
commit
a20069e1af
@ -31,7 +31,7 @@ udpu_do_part_check() {
|
||||
|
||||
# Check if the block devices exist
|
||||
for num in ${emmc_parts}; do
|
||||
[[ ! -b ${emmc_dev}p${num} ]] && part_valid="0"
|
||||
[ ! -b ${emmc_dev}p${num} ] && part_valid="0"
|
||||
done
|
||||
|
||||
# If partitions are missing create a new partition table
|
||||
|
Loading…
Reference in New Issue
Block a user