From 12d087d778d9bc325e079e3a4fff00de65ee70db Mon Sep 17 00:00:00 2001 From: jack <0x6A73@pm.me> Date: Mon, 8 Apr 2024 02:05:27 -0600 Subject: fix module check --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 8a84e02..738d9ad 100755 --- a/build.sh +++ b/build.sh @@ -13,7 +13,7 @@ build() { printf "building ${GREEN}$1${NORMAL} for ${BLUE}$2${NORMAL}...\n" (cd $ZMK_DIR/app MODULE_CMD="" - if [ -n $3 ]; then + if [ "$3" ]; then MODULE_CMD="-DZMK_EXTRA_MODULES=$HOME/git/zmk-build/$3" fi west build -p always -b $2 -- -DSHIELD=$1 \ -- cgit v1.2.3