mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
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:
parent
95ead29574
commit
89753e2163
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user