Преглед изворни кода

Merge remote-tracking branch 'origin/master' into develop

QMK Bot пре 8 месеци
родитељ
комит
debba50c33
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