Skip to content

Commit 6c1c7a5

Browse files
committed
Check for OSTYPE instead of OS
It better detects sh vs. batch
1 parent d6d0202 commit 6c1c7a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/export/gcc_arm_common.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# see http://mbed.org/handbook/Exporting-to-GCC-ARM-Embedded
33

44
# cross-platform directory manipulation
5-
ifeq ($(OS),Windows_NT)
5+
ifeq ($(OSTYPE),)
66
MAKEDIR = if not exist "$(1)" mkdir "$(1)"
77
RM = rmdir /S /Q
88
else

0 commit comments

Comments
 (0)