]> Pileus Git - ~andy/gtk/commitdiff
Replaced pushd and popd calls with equivalent shell code.
authorJeff Garzik <jgarzik@src.gnome.org>
Wed, 25 Nov 1998 17:13:14 +0000 (17:13 +0000)
committerJeff Garzik <jgarzik@src.gnome.org>
Wed, 25 Nov 1998 17:13:14 +0000 (17:13 +0000)
pushd and popd are not supported by ksh or sh [under Solaris at least].

autogen.sh

index 74950e2564f796dbc89b2409f3d506124da8d2fc..76d24de3a1d92449562a1140fbe80f93a6007f53 100755 (executable)
@@ -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 "$@"