feed the right git revision used to build fluxbox into defaults.hh
This commit is contained in:
parent
46fdf4d1b4
commit
60a44e573e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue