16 lines
596 B
Text
16 lines
596 B
Text
|
$NetBSD: patch-configure,v 1.1 2011/05/12 13:12:18 obache Exp $
|
||
|
|
||
|
* portability fix.
|
||
|
|
||
|
--- configure.orig 2011-05-12 12:28:08.000000000 +0000
|
||
|
+++ configure
|
||
|
@@ -21196,7 +21196,7 @@ if test -d ".git" -a "x${GIT}" != "x" -a
|
||
|
then
|
||
|
# check for git-svn repo first - find-rev (v1.5.4.1) doesn't always fail with git-only repo
|
||
|
git svn info &>/dev/null
|
||
|
- if test "x$?" == "x0"; then
|
||
|
+ if test "x$?" = "x0"; then
|
||
|
REVISION=r`git svn find-rev origin/trunk 2>/dev/null ||
|
||
|
git svn find-rev trunk 2>/dev/null || git svn find-rev HEAD 2>/dev/null ||
|
||
|
git svn find-rev master 2>/dev/null || echo 0`
|