From: Adam Dickmeiss Date: Tue, 16 Nov 2004 17:12:28 +0000 (+0000) Subject: Make sure test only write to build directory to make distcheck happier. X-Git-Tag: YAZ.2.0.30~65 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=8233c05994729938fdfe9ac5865094a44be9fdfb Make sure test only write to build directory to make distcheck happier. --- diff --git a/test/tstmarc.sh b/test/tstmarc.sh index 1b0aae9..97b1ab4 100755 --- a/test/tstmarc.sh +++ b/test/tstmarc.sh @@ -1,11 +1,11 @@ #!/bin/sh -# $Id: tstmarc.sh,v 1.1 2004-10-01 11:43:43 adam Exp $ +# $Id: tstmarc.sh,v 1.2 2004-11-16 17:12:28 adam Exp $ srcdir=${srcdir:-.} ecode=0 for f in ${srcdir}/marc?; do - NEW=${f}.new.xml + NEW=`basename ${f}`.new.xml OLD=${f}.xml - DIFF=${f}.diff + DIFF=`basename ${f}`.diff ../util/yaz-marcdump -f iso-8859-1 -t utf-8 -X $f > $NEW if test $? != "0"; then echo "Failed decode of $f" @@ -34,4 +34,5 @@ for f in ${srcdir}/marc?; do fi fi done -exit $ecode \ No newline at end of file +exit $ecode +