From a20069e1af3977a34280e9ae4d388da5bae8f66f Mon Sep 17 00:00:00 2001 From: Sven Roederer Date: Wed, 25 Dec 2019 18:39:00 +0100 Subject: [PATCH] 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 [split patch, remove shebang, adjust commit title/message] Signed-off-by: Adrian Schmutzler --- target/linux/mvebu/cortexa53/base-files/lib/upgrade/uDPU.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2