summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorRyan C. Gordon <icculus@icculus.org>2016-12-26 22:58:58 -0500
committerRyan C. Gordon <icculus@icculus.org>2016-12-26 22:58:58 -0500
commit687f35e693a6cbd7a16a7b1796205316ed336cb9 (patch)
tree3f0814e25c9249061f56cf8dbc5227631231b6b5 /autogen.sh
parent7a0809efc5cbb86c8b02ae03de499a0ea5c19a1e (diff)
downloadsdl-687f35e693a6cbd7a16a7b1796205316ed336cb9.tar.gz
Don't use pushd/popd in autogen.sh; Ubuntu's /bin/sh doesn't support it.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/autogen.sh b/autogen.sh
index 3e958e195..9edfb8a7d 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -5,7 +5,7 @@ echo "This may take a while ..."
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
-pushd $srcdir
+cd "$srcdir"
# Regenerate configuration files
cat acinclude/* >aclocal.m4
@@ -19,7 +19,5 @@ if test x$found = xfalse; then
fi
(cd test; sh autogen.sh)
-popd
-
# Run configure for this platform
echo "Now you are ready to run ./configure"