More readable script.
[idzebra-moved-to-github.git] / test / gils / test.sh
1 #!/bin/sh
2 if [ -x ../../index/zmbolidx ]; then
3         IDX=../../index/zmbolidx
4         SRV=../../index/zmbolsrv
5 elif [ -x ../../index/zebraidx ]; then 
6         IDX=../../index/zebraidx
7         SRV=../../index/zebrasrv
8 else
9         echo "No indexer found"
10         exit 1
11 fi
12 echo Loading Records
13 $IDX -t grs.sgml update records
14 echo Starting Server
15 $SRV