r12559@catbus: nickm | 2007-04-30 09:17:54 -0400

Fix bug 421: Only set the revision number from SVK if we have a runnable svk _and_ a ~/.svk directory.


svn:r10057
This commit is contained in:
Nick Mathewson 2007-04-30 13:17:57 +00:00
parent 5ba4eaba1c
commit 420df2ce15

View File

@ -36,7 +36,7 @@ micro-revision.i: FORCE
sed -n 's/^Revision: \([0-9][0-9]*\).*/"\1"/p' > micro-revision.i \
|| true; \
else \
if test x`which svk` != x; then \
if test x`which svk` != x -a -d ~/.svk; then \
location=../..; \
rev=x; \
while test x$$rev = xx; do \