From: Adam Dickmeiss Date: Tue, 18 May 2010 09:01:46 +0000 (+0200) Subject: Fix POST test for srcdir!=. (make distcheck) X-Git-Tag: v1.4.1~22 X-Git-Url: http://git.indexdata.com/?a=commitdiff_plain;h=3322eccb654b3ebd547ba48b8c49c99db54e484c;p=pazpar2-moved-to-github.git Fix POST test for srcdir!=. (make distcheck) --- diff --git a/test/run_pazpar2.sh b/test/run_pazpar2.sh index 05112d7..28e81aa 100755 --- a/test/run_pazpar2.sh +++ b/test/run_pazpar2.sh @@ -104,8 +104,8 @@ for f in `cat ${srcdir}/${URLS}`; do elif echo $f | grep '^[0-9]' >/dev/null; then sleep $f else - if test -f $f; then - postfile=$f + if test -f $srcdir/$f; then + postfile=$srcdir/$f else echo "File $f does not exist" code=1