소스 검색

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 18 년 전
부모
커밋
420df2ce15
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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                            \