From 8233c05994729938fdfe9ac5865094a44be9fdfb Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 16 Nov 2004 17:12:28 +0000 Subject: [PATCH] Make sure test only write to build directory to make distcheck happier. --- test/tstmarc.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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 + -- 1.7.10.4