mirror of
https://github.com/Dasharo/scripts.git
synced 2026-03-06 14:51:26 -08:00
flash_rwlegacy: fix check of emmc controller address
fix test grouping inside of if stmt that cause false positive indication that device-specific controller address was known
This commit is contained in:
committed by
Matt DeVillier
parent
1993fa1375
commit
1d7f0bc999
@@ -86,7 +86,7 @@ if [ "$useHeadless" = true ]; then
|
||||
fi
|
||||
fi
|
||||
#add emmc/sdcard controller addresses for Baytrail/Braswell if known
|
||||
if [[ "$isBaytrail" = true || "$isBraswell" = true && "$emmcAddr" != "" ]]; then
|
||||
if [[ ( "$isBaytrail" = true || "$isBraswell" = true ) && "$emmcAddr" != "" ]]; then
|
||||
${cbfstoolcmd} ${seabios_file} remove -n etc/sdcard0 > /dev/null 2>&1
|
||||
${cbfstoolcmd} ${seabios_file} remove -n etc/sdcard1 > /dev/null 2>&1
|
||||
${cbfstoolcmd} ${seabios_file} remove -n etc/sdcard2 > /dev/null 2>&1
|
||||
|
||||
Reference in New Issue
Block a user