summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/autogen.sh b/autogen.sh
index 29f73cbd4..a860ab8fa 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -4,7 +4,8 @@
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
-pushd $srcdir
+ORIGDIR=`pwd`
+cd $srcdir
PROJECT=GLib
TEST_TYPE=-f
FILE=glib.h
@@ -60,7 +61,7 @@ aclocal $ACLOCAL_FLAGS
automake $am_opt
autoconf
-popd
+cd $ORIGDIR
$srcdir/configure "$@"