summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
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
59 echo '}'; \ 59 echo '}'; \
60 echo ''; \ 60 echo ''; \
61 echo 'const char* svnversion(void) {'; \ 61 echo 'const char* svnversion(void) {'; \
62 echo ' return "'`cat ../.git/refs/heads/master`'";';\ 62 echo ' return "'`cat ../.git/$$(cat ../.git/HEAD | cut -f 2 -d ' ')`'";';\
63 echo '}' ) > defaults_tmp.cc 63 echo '}' ) > defaults_tmp.cc
64 @if ! cmp defaults_tmp.cc defaults.cc ; then cp defaults_tmp.cc defaults.cc; fi 64 @if ! cmp defaults_tmp.cc defaults.cc ; then cp defaults_tmp.cc defaults.cc; fi
65 @rm defaults_tmp.cc 65 @rm defaults_tmp.cc