diff options
author | Sven Roederer <devel-sven@geroedel.de> | 2019-12-25 18:39:00 +0100 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-01-26 21:51:32 +0100 |
commit | a20069e1af3977a34280e9ae4d388da5bae8f66f (patch) | |
tree | 41acc102ffc4169de761f1c08486a2a48d403a17 /target/linux/mvebu | |
parent | 0fecc997f88b7f0a44c0f724d6de30083a14b908 (diff) | |
download | upstream-a20069e1af3977a34280e9ae4d388da5bae8f66f.tar.gz upstream-a20069e1af3977a34280e9ae4d388da5bae8f66f.tar.bz2 upstream-a20069e1af3977a34280e9ae4d388da5bae8f66f.zip |
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>
Diffstat (limited to 'target/linux/mvebu')
-rw-r--r-- | target/linux/mvebu/cortexa53/base-files/lib/upgrade/uDPU.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/mvebu/cortexa53/base-files/lib/upgrade/uDPU.sh b/target/linux/mvebu/cortexa53/base-files/lib/upgrade/uDPU.sh index 032c706605..0bb1dd12cc 100644 --- a/target/linux/mvebu/cortexa53/base-files/lib/upgrade/uDPU.sh +++ b/target/linux/mvebu/cortexa53/base-files/lib/upgrade/uDPU.sh @@ -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 |