Browse Source

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

Nick Mathewson 17 years ago
parent
commit
420df2ce15
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/or/Makefile.am

+ 1 - 1
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                            \