all repos — fluxbox @ 60a44e573ede2a8ca693f101f046c2439aa4b4aa

custom fork of the fluxbox windowmanager

feed the right git revision used to build fluxbox into defaults.hh
Mathias Gumz akira at fluxbox dot org
commit

60a44e573ede2a8ca693f101f046c2439aa4b4aa

parent

46fdf4d1b4043588b057fcc9a03f5f66b6b09354

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/Makefile.amsrc/Makefile.am

@@ -59,7 +59,7 @@ echo ' return PROGRAM_PREFIX + name + PROGRAM_SUFFIX;'; \

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