From bf75878819d59737f16e8f9009237dbc5c4bd5c6 Mon Sep 17 00:00:00 2001 From: Jeff Garzik Date: Wed, 25 Nov 1998 17:32:21 +0000 Subject: [PATCH] Replaced pushd and popd with equivalent shell code. pushd and popd are not supported outside of bash (and csh?). --- autogen.sh | 5 +++-- 1 file 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 "$@"