From 60a44e573ede2a8ca693f101f046c2439aa4b4aa Mon Sep 17 00:00:00 2001 From: Mathias Gumz Date: Sun, 24 Feb 2008 22:22:13 +0100 Subject: feed the right git revision used to build fluxbox into defaults.hh --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index f41a30a..1d489c1 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -59,7 +59,7 @@ defaults.cc: force echo '}'; \ echo ''; \ echo 'const char* svnversion(void) {'; \ - echo ' return "'`cat ../.git/refs/heads/master`'";';\ + echo ' return "'`cat ../.git/$$(cat ../.git/HEAD | cut -f 2 -d ' ')`'";';\ echo '}' ) > defaults_tmp.cc @if ! cmp defaults_tmp.cc defaults.cc ; then cp defaults_tmp.cc defaults.cc; fi @rm defaults_tmp.cc -- cgit v0.11.2