diff --git a/autogen.sh b/autogen.sh index b716527..12f270f 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,5 +1,7 @@ #!/bin/bash +builddir=${PWD} + test -n "$srcdir" || srcdir=`dirname "$0"` test -n "$srcdir" || srcdir=. @@ -45,6 +47,8 @@ automake --add-missing 2> /dev/null | true autopoint +cd "${builddir}" + test -n "$NOCONFIGURE" || "$srcdir/configure" $@ -- libgit2 0.21.2