X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fusmarc%2Ftest.sh;h=a9abe017563ef970dc22a6bd1cd3925523216f59;hb=e2d9fea369fcf6f0e8927b7b53b69d0bc4f9a50a;hp=f2a0afe6e838de1487d0564dcd5c47c36540d4c7;hpb=4ffcc4caf5dae0a8a55ebb4b481003b764127c84;p=idzebra-moved-to-github.git diff --git a/test/usmarc/test.sh b/test/usmarc/test.sh index f2a0afe..a9abe01 100755 --- a/test/usmarc/test.sh +++ b/test/usmarc/test.sh @@ -1,15 +1,12 @@ -: +#!/bin/sh +test -d tmp || mkdir tmp +test -d lock || mkdir lock echo Loading Records -if [ -x ../../bin/zmbolidx ]; then - ../../bin/zmbolidx update records -fi -if [ -x ../../bin/zebraidx ]; then - ../../bin/zebraidx update records +if [ -x ../../index/zebraidx ]; then + ../../index/zebraidx init + ../../index/zebraidx update records fi echo Starting Server -if [ -x ../../bin/zmbolsrv ]; then - ../../bin/zmbolsrv -fi -if [ -x ../../bin/zebrasrv ]; then - ../../bin/zebrasrv +if [ -x ../../index/zebrasrv ]; then + ../../index/zebrasrv fi