summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@src.gnome.org>1998-11-25 17:13:14 +0000
committerJeff Garzik <jgarzik@src.gnome.org>1998-11-25 17:13:14 +0000
commitce073aac7dd120cc930c3f6d1f5e7334f96c8f6e (patch)
tree9b913b92354baf5971d0196d28b5870a91be1ae3 /autogen.sh
parent9cb5eb75f8e4e962c2aa829ea2aa2fb0cf91e3be (diff)
downloadgdk-pixbuf-ce073aac7dd120cc930c3f6d1f5e7334f96c8f6e.tar.gz
Replaced pushd and popd calls with equivalent shell code.
pushd and popd are not supported by ksh or sh [under Solaris at least].
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 74950e256..76d24de3a 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=Gtk+
TEST_TYPE=-d
FILE=gdk
@@ -60,7 +61,7 @@ aclocal $ACLOCAL_FLAGS
automake $am_opt
autoconf
-popd
+cd $ORIGDIR
$srcdir/configure "$@"