From 001fef7e7ca9bad7745e374bad4e56f4a518a303 Mon Sep 17 00:00:00 2001 From: Andreas Oberritter Date: Mon, 22 Nov 2010 16:17:29 +0100 Subject: [PATCH] main/Makefile.am: use --pretty instead of --format to support older Git versions --- main/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2