This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new a522a8eeaf tools/Win.mk
a522a8eeaf is described below
commit a522a8eeaf302303f59baa6cb5d488cfa32ec79d
Author: simbit18 <[email protected]>
AuthorDate: Wed Nov 9 19:37:03 2022 +0100
tools/Win.mk
fix shell conditional
---
tools/Win.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/Win.mk b/tools/Win.mk
index 1013903626..fde732a435 100644
--- a/tools/Win.mk
+++ b/tools/Win.mk
@@ -123,7 +123,7 @@ MKEXPORT_ARGS += -u
endif
ifneq ($(APPDIR),)
-ifneq ($(shell [ -e $(APPDIR)/Makefile ] && echo yes),)
+ifneq ($(shell if exist "$(APPDIR)/Makefile" echo yes),)
MKEXPORT_ARGS += -a "$(APPDIR)"
MKEXPORT_ARGS += -m "$(MAKE)"
endif