From ec51d4d719e39374419d426965bf49fc01a3404d Mon Sep 17 00:00:00 2001 From: remittor Date: Fri, 6 Feb 2026 20:31:18 +0300 Subject: [PATCH] xmake: Fix typo --- xmake.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmake.sh b/xmake.sh index 53c435a..45ffa20 100755 --- a/xmake.sh +++ b/xmake.sh @@ -116,7 +116,7 @@ function build_target { echo "BOARD_NAME = $X_BOARD_NAME SUBTARGET = $X_SUBTARGET_NAME" VERMAGIC_FN=$XDIR/vermagic-$X_BOARD_NAME-$X_SUBTARGET_NAME-$X_VERSION_NUMBER.list - if [ ! -f $VERMAGIC_FN -a -f $XDIR/vermagic_update.sh ]; then + if [ ! -f $VERMAGIC_FN ] && [ -f $XDIR/vermagic_update.sh ]; then bash $XDIR/vermagic_update.sh $X_BOARD_NAME $X_SUBTARGET_NAME if [ ! -f $VERMAGIC_FN ]; then echo "ERROR: cannot create file $VERMAGIC_FN"