diff options
author | jack <[email protected]> | 2024-04-08 02:05:27 -0600 |
---|---|---|
committer | jack <[email protected]> | 2024-04-08 02:05:27 -0600 |
commit | 12d087d778d9bc325e079e3a4fff00de65ee70db (patch) | |
tree | 640ff7836ac9f60cf89c01fecd6b09aefd2030ad | |
parent | 74139b7f24e2427fb189350ebb1f69836fe76a03 (diff) | |
download | zmk_build-12d087d778d9bc325e079e3a4fff00de65ee70db.tar.gz zmk_build-12d087d778d9bc325e079e3a4fff00de65ee70db.zip |
fix module check
-rwxr-xr-x | build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 \ |