You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/06/18 02:49:06 UTC

[GitHub] [incubator-nuttx] patacongo commented on a change in pull request #1270: Makefile.unix:versioning insure it is a .git dir

patacongo commented on a change in pull request #1270:
URL: https://github.com/apache/incubator-nuttx/pull/1270#discussion_r441938255



##########
File path: tools/Makefile.unix
##########
@@ -25,9 +25,13 @@ include $(TOPDIR)/Make.defs
 
 GIT_DIR = $(if $(wildcard $(TOPDIR)$(DELIM).git),y,)
 
+ifeq ($(GIT_DIR),y)
+GIT_PRESENT = `git rev-parse --git-dir 2> /dev/null`
+endif
+

Review comment:
       Doesn't Makefile.win need this change as well?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org