We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e903bea commit 4227f93Copy full SHA for 4227f93
Makefile.package
@@ -25,7 +25,7 @@ SHELL := /bin/bash
25
DATE := $(shell date +"%Y%m%d")
26
TIMESTAMP := $(shell date -u +'%Y-%m-%dT%H:%M:%SZ')
27
28
-HAS_GIT := $(shell [ -d ${PROJECT_ROOT}/.git ] && echo "true")
+HAS_GIT := $(shell [ -e ${PROJECT_ROOT}/.git ] && echo "true")
29
ifeq (${PROJECT_VERSION},unknown)
30
ifeq (${HAS_GIT},true)
31
GIT_COMMIT_HASH := $(shell git log -1 --format=%h)
0 commit comments