Check for DragonFly BSD as well for DATE
(cherry picked from commit b9e4a4dede
)
This commit is contained in:
parent
a04d0f485b
commit
32dad09d2e
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -47,7 +47,7 @@ else
|
|||
GITINFO = ""
|
||||
endif
|
||||
|
||||
ifeq ($(shell echo $(OS) | egrep -c 'Darwin|FreeBSD|OpenBSD'),1)
|
||||
ifeq ($(shell echo $(OS) | egrep -c 'Darwin|FreeBSD|OpenBSD|DragonFly'),1)
|
||||
DATE := $(shell date -j -r $(shell git log -n 1 --format="%at") +%Y%m%d%H%M)
|
||||
else
|
||||
DATE := $(shell date --utc --date="$(GIT_DATE)" +%Y%m%d%H%M)
|
||||
|
|
Loading…
Reference in a new issue