Message ID | 20221011121027.6841-1-p-bhagat@ti.com |
---|---|
State | Accepted |
Delegated to: | Ryan Eatmon |
Headers | show |
Series | [tisdk-setup-scripts,master,v2] create-sdcard : Correct if condition which checks for boot images | expand |
diff --git a/create-sdcard.sh b/create-sdcard.sh index 4af6c94..5c3490a 100644 --- a/create-sdcard.sh +++ b/create-sdcard.sh @@ -1057,7 +1057,7 @@ if [ $BOOTPATHOPTION -eq 1 ] ; then echo "" #copy boot files out of board support - if ["$TARDEVICENAME" == "am65xx"] || ["$TARDEVICENAME" == "j7"]; then + if [ "$TARDEVICENAME" == "am65xx" ] || [ "$TARDEVICENAME" == "j7" ]; then if [ "$MLO" == "" ] && ( [ "$SPL_R5" == "" ] || [ "$SPL_A53" == "" ] || [ "$SYSFW" == "" ] ); then echo "Boot image not found" fi
The if condition which checks for boot binaries for am65xx and j7 devices has no spaces which shows error while running create-sdcard.sh.Add the required spaces in if condition. Signed-off-by: Paresh Bhagat <p-bhagat@ti.com> --- create-sdcard.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)