From 12f6dae8cd81f363e02849acea40c69a8764f487 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Thu, 3 Nov 2016 14:05:11 +0100 Subject: [PATCH] build: Fix 9570c36 on Debian Debian's ash doesn't implement pushd/popd. --- autogen.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/autogen.sh b/autogen.sh index 4bc9d7d..cd72a66 100755 --- a/autogen.sh +++ b/autogen.sh @@ -3,14 +3,16 @@ srcdir=`dirname $0` test -z "$srcdir" && srcdir=. -pushd $srcdir +olddir="`pwd`" + +cd "$srcdir" libtoolize --copy --force || exit 1 aclocal || exit 1 autoheader || exit 1 autoconf || exit 1 automake -a -c || exit 1 -popd +cd "$olddir" if test -z "$NOCONFIGURE"; then $srcdir/configure --enable-maintainer-mode --enable-examples-build \