Fix fallback locating of qmk_userspace on milc>=2.0.0 (#26488)

This commit is contained in:
Joel Challis
2026-09-30 16:42:14 +01:00
committed by GitHub
parent b1aea25560
commit d9f6dd215f
+1 -1
View File
@@ -47,7 +47,7 @@ QMK_BIN := qmk
export override QMK_USERSPACE := $(shell \
$(QMK_BIN) env | sort | grep -q QMK_USERSPACE \
&& $(QMK_BIN) env QMK_USERSPACE \
|| $(QMK_BIN) config -ro user.overlay_dir | cut -d= -f2 | sed -e 's@^None$$@@g')
|| $(QMK_BIN) config -ro user.overlay_dir | cut -d= -f2 | sed -e 's@ [(].*[)]$$@@g' | sed -e 's@^None$$@@g')
# avoid 'Entering|Leaving directory' messages
MAKEFLAGS += --no-print-directory