projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e958092
)
Make sure test only write to build directory to make distcheck happier.
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 16 Nov 2004 17:12:28 +0000
(17:12 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 16 Nov 2004 17:12:28 +0000
(17:12 +0000)
test/tstmarc.sh
patch
|
blob
|
history
diff --git
a/test/tstmarc.sh
b/test/tstmarc.sh
index
1b0aae9
..
97b1ab4
100755
(executable)
--- a/
test/tstmarc.sh
+++ b/
test/tstmarc.sh
@@
-1,11
+1,11
@@
#!/bin/sh
#!/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
srcdir=${srcdir:-.}
ecode=0
for f in ${srcdir}/marc?; do
- NEW=${f}.new.xml
+ NEW=`basename ${f}`.new.xml
OLD=${f}.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"
../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
fi
fi
done
-exit $ecode
\ No newline at end of file
+exit $ecode
+