2 次代码提交 511f1ed9de ... debba50c33

作者 SHA1 备注 提交日期
  QMK Bot debba50c33 Merge remote-tracking branch 'origin/master' into develop 14 小时之前
  psych3r 08e5fcfdf4 Fix USER_PATH resolution on case-insensitive filesystems (#25853) 14 小时之前
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. 4 2
      builddefs/build_keyboard.mk

+ 4 - 2
builddefs/build_keyboard.mk

@@ -474,8 +474,10 @@ ifneq ($(wildcard $(QMK_USERSPACE)),)
 endif
 
 # If the equivalent users directory exists in userspace, use that in preference to anything currently in the main repo
-ifneq ($(wildcard $(QMK_USERSPACE)/$(USER_PATH)),)
-    USER_PATH := $(QMK_USERSPACE)/$(USER_PATH)
+ifneq ($(QMK_USERSPACE),)
+	ifneq ($(wildcard $(QMK_USERSPACE)/$(USER_PATH)),)
+    	USER_PATH := $(QMK_USERSPACE)/$(USER_PATH)
+	endif
 endif
 
 # Pull in user level rules.mk