-:
-echo Loading Records
-if [ -x ../../bin/zmbolidx ]; then
- ../../bin/zmbolidx -t grs.sgml update records
-fi
-if [ -x ../../bin/zebraidx ]; then
- ../../bin/zebraidx -t grs.sgml update records
+#!/bin/sh
+if [ -x ../../index/zmbolidx ]; then
+ IDX=../../index/zmbolidx
+ SRV=../../index/zmbolsrv
+elif [ -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 ../../bin/zmbolsrv ]; then
- ../../bin/zmbolsrv
-fi
-if [ -x ../../bin/zebrasrv ]; then
- ../../bin/zebrasrv
-fi
+$SRV