summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAntonio Huete Jimenez <tuxillo@quantumachine.net>2016-12-22 23:27:28 +0100
committerBrian Coca <brian.coca+git@gmail.com>2017-01-02 12:59:28 -0500
commit32dad09d2ecbd744a17a16b568f495a8d4704d64 (patch)
treeec3504cdabd65a2667575c279f0c5614c617aa68 /Makefile
parenta04d0f485b0014dc25add18d0b80ab0180fcb408 (diff)
downloadansible-32dad09d2ecbd744a17a16b568f495a8d4704d64.tar.gz
Check for DragonFly BSD as well for DATE
(cherry picked from commit b9e4a4dede6eb99eceac2c9eeb8f4e78453647ec)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4dbede4722..547c0a6c3d 100644
--- a/Makefile
+++ b/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)