From 3322eccb654b3ebd547ba48b8c49c99db54e484c Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 18 May 2010 11:01:46 +0200 Subject: [PATCH] Fix POST test for srcdir!=. (make distcheck) --- test/run_pazpar2.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 1.7.10.4