aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjack <[email protected]>2024-04-08 02:05:27 -0600
committerjack <[email protected]>2024-04-08 02:05:27 -0600
commit12d087d778d9bc325e079e3a4fff00de65ee70db (patch)
tree640ff7836ac9f60cf89c01fecd6b09aefd2030ad
parent74139b7f24e2427fb189350ebb1f69836fe76a03 (diff)
downloadzmk_build-12d087d778d9bc325e079e3a4fff00de65ee70db.tar.gz
zmk_build-12d087d778d9bc325e079e3a4fff00de65ee70db.zip
fix module check
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
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 \