aboutsummaryrefslogtreecommitdiff
path: root/Common.mk
diff options
context:
space:
mode:
authorSudar Muthu <sudar@sudarmuthu.com>2017-09-10 18:48:55 -0400
committerGitHub <noreply@github.com>2017-09-10 18:48:55 -0400
commit9708e8265d02ec4bc89533a06ec74c0aedec03c3 (patch)
treed99eda518372233bf203bab4d210bc22a69c7986 /Common.mk
parent360db6f27c03781554171daae734aabde05ee3b7 (diff)
parent770d3a7080c1216a46a1d0c334692ee31dd7de0f (diff)
Merge pull request #525 from tuna-f1sh/master
Update Windows documentation to allow non-relative paths
Diffstat (limited to 'Common.mk')
-rw-r--r--Common.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/Common.mk b/Common.mk
index e6e9369..a8bd46a 100644
--- a/Common.mk
+++ b/Common.mk
@@ -81,7 +81,7 @@ else
endif
ifeq ($(CURRENT_OS),WINDOWS)
- ifneq ($(shell echo $(ARDUINO_DIR) | egrep '^(/|[a-zA-Z]:\\)'),)
- echo $(error On Windows, ARDUINO_DIR must be a relative path)
+ ifneq ($(shell echo $(ARDUINO_DIR) | egrep '\\|[[:space:]]|cygdrive'),)
+ echo $(error On Windows, ARDUINO_DIR and other defines must use forward slash and not contain spaces, special characters or be cygdrive relative)
endif
endif