r12676@catbus: nickm | 2007-05-07 13:11:38 -0400

When we cannot find a micro-revision number, do not overwrite an already-present micro-revision.i.


svn:r10134
This commit is contained in:
Nick Mathewson 2007-05-07 17:11:53 +00:00
parent 95ead29574
commit 89753e2163

View File

@ -66,10 +66,11 @@ micro-revision.i: FORCE
echo \"$$rev\" > micro-revision.tmp; \ echo \"$$rev\" > micro-revision.tmp; \
fi; \ fi; \
fi; \ fi; \
if test ! -f micro-revision.tmp; then \ if test ! -f micro-revision.tmp ; then \
echo '""' > micro-revision.tmp; \ if test ! -f micro-revision.i ; then \
fi; \ echo '""' > micro-revision.i; \
if test ! -f micro-revision.i || \ fi; \
elif test ! -f micro-revision.i || \
test "`cat micro-revision.tmp`" != "`cat micro-revision.i`"; then \ test "`cat micro-revision.tmp`" != "`cat micro-revision.i`"; then \
mv micro-revision.tmp micro-revision.i; \ mv micro-revision.tmp micro-revision.i; \
fi fi