From: Jeff Garzik Date: Wed, 25 Nov 1998 17:32:21 +0000 (+0000) Subject: Replaced pushd and popd with equivalent shell code. X-Git-Tag: PRE_CLEANUP~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bf75878819d59737f16e8f9009237dbc5c4bd5c6;p=platform%2Fupstream%2Fglib.git Replaced pushd and popd with equivalent shell code. pushd and popd are not supported outside of bash (and csh?). --- diff --git a/autogen.sh b/autogen.sh index 29f73cb..a860ab8 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 "$@"