Replaced pushd and popd with equivalent shell code.

pushd and popd are not supported outside of bash (and csh?).
This commit is contained in:
Jeff Garzik 1998-11-25 17:32:21 +00:00
parent 8c25d98d50
commit bf75878819

View File

@ -4,7 +4,8 @@
srcdir=`dirname $0` srcdir=`dirname $0`
test -z "$srcdir" && srcdir=. test -z "$srcdir" && srcdir=.
pushd $srcdir ORIGDIR=`pwd`
cd $srcdir
PROJECT=GLib PROJECT=GLib
TEST_TYPE=-f TEST_TYPE=-f
FILE=glib.h FILE=glib.h
@ -60,7 +61,7 @@ aclocal $ACLOCAL_FLAGS
automake $am_opt automake $am_opt
autoconf autoconf
popd cd $ORIGDIR
$srcdir/configure "$@" $srcdir/configure "$@"