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

Always remove revision.tmp

parent e024a000
......@@ -513,8 +513,11 @@ stamp-revision:
rm -f -- 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
if diff revision.tmp revision.txt >/dev/null; then \
rm -f -- revision.tmp; \
else \
mv -f -- revision.tmp revision.txt; \
fi 2>&1
###############################################################################
# Unit/regression test
......
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