Omit CVS Id. Update copyright year.
[idzebra-moved-to-github.git] / test / usmarc / test.sh
index 4795a88..48c8ee7 100755 (executable)
@@ -1,3 +1,11 @@
-:
-../../index/zebraidx update records
-../../index/zebrasrv
+#!/bin/sh
+test -d tmp || mkdir tmp
+test -d lock || mkdir lock
+echo Loading Records
+if [ -x ../../index/zebraidx ]; then
+       ../../index/zebraidx update records
+fi
+echo Starting Server
+if [ -x ../../index/zebrasrv ]; then
+       ../../index/zebrasrv
+fi