Parcourir la 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 il y a 17 ans
Parent
commit
420df2ce15
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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                            \