From fa7659cb67073d86b572bd58cca92d80e01bb371 Mon Sep 17 00:00:00 2001 From: Ulya Trofimovich Date: Mon, 24 Aug 2015 13:23:55 +0100 Subject: [PATCH] distcheck.sh can only run from top source directory. --- re2c/distcheck.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/re2c/distcheck.sh b/re2c/distcheck.sh index efff7d4f..4916e523 100755 --- a/re2c/distcheck.sh +++ b/re2c/distcheck.sh @@ -7,10 +7,9 @@ then echo "usage: ./distcheck.sh " exit 1 fi -builddir=$1 -srcdir=`pwd` +builddir="$1" -$srcdir/autogen.sh +./autogen.sh # try to be portable on various MAKEs for make_prog in make bmake @@ -18,8 +17,8 @@ do rm -rf $builddir mkdir $builddir cd $builddir - $srcdir/configure --enable-docs && \ + ../configure --enable-docs && \ $make_prog bootstrap -j5 $make_prog distcheck -j5 - cd $srcdir + cd .. done -- 2.40.0