build: Fix 9570c36
on Debian
Debian's ash doesn't implement pushd/popd.
This commit is contained in:
parent
9570c36fd4
commit
12f6dae8cd
1 changed files with 4 additions and 2 deletions
|
@ -3,14 +3,16 @@
|
||||||
srcdir=`dirname $0`
|
srcdir=`dirname $0`
|
||||||
test -z "$srcdir" && srcdir=.
|
test -z "$srcdir" && srcdir=.
|
||||||
|
|
||||||
pushd $srcdir
|
olddir="`pwd`"
|
||||||
|
|
||||||
|
cd "$srcdir"
|
||||||
|
|
||||||
libtoolize --copy --force || exit 1
|
libtoolize --copy --force || exit 1
|
||||||
aclocal || exit 1
|
aclocal || exit 1
|
||||||
autoheader || exit 1
|
autoheader || exit 1
|
||||||
autoconf || exit 1
|
autoconf || exit 1
|
||||||
automake -a -c || exit 1
|
automake -a -c || exit 1
|
||||||
popd
|
cd "$olddir"
|
||||||
|
|
||||||
if test -z "$NOCONFIGURE"; then
|
if test -z "$NOCONFIGURE"; then
|
||||||
$srcdir/configure --enable-maintainer-mode --enable-examples-build \
|
$srcdir/configure --enable-maintainer-mode --enable-examples-build \
|
||||||
|
|
Loading…
Add table
Reference in a new issue