summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@src.gnome.org>1998-11-25 17:32:21 +0000
committerJeff Garzik <jgarzik@src.gnome.org>1998-11-25 17:32:21 +0000
commitbf75878819d59737f16e8f9009237dbc5c4bd5c6 (patch)
tree1d4a1456b7f761a7cb651ca30e3fc8033f28b573 /autogen.sh
parent8c25d98d508e66a4558df7aaa8e3063e14fd14b8 (diff)
Replaced pushd and popd with equivalent shell code.
pushd and popd are not supported outside of bash (and csh?).
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 "$@"