aboutsummaryrefslogtreecommitdiff
path: root/main/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'main/Makefile.am')
-rw-r--r--main/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/Makefile.am b/main/Makefile.am
index e46eda2a..0ad1ae9b 100644
--- a/main/Makefile.am
+++ b/main/Makefile.am
@@ -60,7 +60,7 @@ if HAVE_FAKE_GIT_DIR
ENIGMA2_DATE = `cat $(GIT_DIR)/last_commit_info | grep 'Date:' | cut -d' ' -f4`
ENIGMA2_BRANCH = `cat $(GIT_DIR)/branch`
else
-ENIGMA2_DATE = `$(GIT) log --no-color -n 1 --format=format:%cd --date=short`
+ENIGMA2_DATE = `$(GIT) log --no-color -n 1 --pretty=format:%cd --date=short`
ENIGMA2_BRANCH = `$(GIT) branch --no-color 2>/dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/'`
ENIGMA2_REV = `$(GIT) describe --abbrev=7 --always --dirty --long --tags`
endif