summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-04-30 13:17:57 +0000
committerNick Mathewson <nickm@torproject.org>2007-04-30 13:17:57 +0000
commit420df2ce15172d2738758debd6135ce1accb267b (patch)
tree5efd5a832a8c8c01293782ee81a8a3c3bab71729
parent5ba4eaba1cfe1858cc152a9945d0bb6c2d1838b4 (diff)
downloadtor-420df2ce15172d2738758debd6135ce1accb267b.tar.gz
tor-420df2ce15172d2738758debd6135ce1accb267b.zip
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
-rw-r--r--src/or/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/Makefile.am b/src/or/Makefile.am
index 73a3e346e2..ef079a45c1 100644
--- a/src/or/Makefile.am
+++ b/src/or/Makefile.am
@@ -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 \