Commit 7b9914e2 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fall back if this is not a git checkout

parent 2a7329d7
......@@ -488,7 +488,8 @@ revision.txt:
stamp-revision:
rm -f -- revision.tmp
git describe --tags --long --always > revision.tmp
(git --git-dir="$(top_srcdir)/.git/" describe --tags --long \
--always || echo exported) > revision.tmp
diff revision.tmp revision.txt >/dev/null 2>&1 || \
mv -f -- revision.tmp revision.txt
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment