Start work on ICU based regexp searches
[idzebra-moved-to-github.git] / test / gils / test.sh
index 1fab726..bba92f4 100755 (executable)
@@ -1,5 +1,12 @@
-:
+#!/bin/sh
+if [ -x ../../index/zebraidx ]; then 
+       IDX=../../index/zebraidx
+       SRV=../../index/zebrasrv
+else
+       echo "No indexer found"
+       exit 1
+fi
 echo Loading Records
-../../bin/zebraidx -t grs.sgml update records
+$IDX -t grs.sgml update records
 echo Starting Server
-../../bin/zebrasrv
+$SRV