-:
-echo Loading Records
-if [ -x ../../index/zmbolidx ]; then
- ../../index/zmbolidx -t grs.sgml update records
-fi
-if [ -x ../../index/zebraidx ]; then
- ../../index/zebraidx -t grs.sgml update records
+#!/bin/sh
+# $Id: test.sh,v 1.8 2003-05-06 17:39:01 adam Exp $
+if [ -x ../../index/zebraidx ]; then
+ IDX=../../index/zebraidx
+ SRV=../../index/zebrasrv
+else
+ echo "No indexer found"
+ exit 1
fi
+echo Loading Records
+$IDX -t grs.sgml update records
echo Starting Server
-if [ -x ../../index/zmbolsrv ]; then
- ../../index/zmbolsrv
-fi
-if [ -x ../../index/zebrasrv ]; then
- ../../index/zebrasrv
-fi
+$SRV