summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index 14a7e83..619802e 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -18,7 +18,6 @@ fi
# regenerated from their corresponding *.in files by ./configure anyway.
touch INSTALL
-cd "$olddir"
if ! test -f libglnx/README.md; then
git submodule update --init
fi
@@ -27,4 +26,5 @@ sed -e 's,$(libglnx_srcpath),'${srcdir}/libglnx,g < libglnx/Makefile-libglnx.am
autoreconf --force --install --verbose || exit $?
+cd "$olddir"
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"