diff options
| author | Andreas Oberritter <obi@opendreambox.org> | 2010-11-22 16:17:29 +0100 |
|---|---|---|
| committer | Andreas Oberritter <obi@opendreambox.org> | 2010-11-22 16:17:29 +0100 |
| commit | 001fef7e7ca9bad7745e374bad4e56f4a518a303 (patch) | |
| tree | 50f28564fe000dc80bf40812d5d9b95c57d2d602 /main | |
| parent | 616a5604e54055e71ee93209daa30bd4bfdbd849 (diff) | |
| download | enigma2-001fef7e7ca9bad7745e374bad4e56f4a518a303.tar.gz enigma2-001fef7e7ca9bad7745e374bad4e56f4a518a303.zip | |
main/Makefile.am: use --pretty instead of --format to support older Git versions
Diffstat (limited to 'main')
| -rw-r--r-- | main/Makefile.am | 2 |
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 |
