Don't use pushd/popd in autogen.sh; Ubuntu's /bin/sh doesn't support it.

This commit is contained in:
Ryan C. Gordon 2016-12-26 22:58:58 -05:00
parent b4e069e7f8
commit 76f2ae3ca2
1 changed files with 1 additions and 3 deletions

View File

@ -5,7 +5,7 @@ echo "This may take a while ..."
srcdir=`dirname $0` srcdir=`dirname $0`
test -z "$srcdir" && srcdir=. test -z "$srcdir" && srcdir=.
pushd $srcdir cd "$srcdir"
# Regenerate configuration files # Regenerate configuration files
cat acinclude/* >aclocal.m4 cat acinclude/* >aclocal.m4
@ -19,7 +19,5 @@ if test x$found = xfalse; then
fi fi
(cd test; sh autogen.sh) (cd test; sh autogen.sh)
popd
# Run configure for this platform # Run configure for this platform
echo "Now you are ready to run ./configure" echo "Now you are ready to run ./configure"