projects
/
idzebra-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cad0d32
)
More readable script.
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 15 Oct 2001 19:38:22 +0000
(19:38 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 15 Oct 2001 19:38:22 +0000
(19:38 +0000)
test/gils/test.sh
patch
|
blob
|
history
diff --git
a/test/gils/test.sh
b/test/gils/test.sh
index
0ddc046
..
8155338
100755
(executable)
--- a/
test/gils/test.sh
+++ b/
test/gils/test.sh
@@
-1,15
+1,15
@@
-:
-echo Loading Records
+#!/bin/sh
if [ -x ../../index/zmbolidx ]; then
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
+ 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
fi
+echo Loading Records
+$IDX -t grs.sgml update records
echo Starting Server
echo Starting Server
-if [ -x ../../index/zmbolsrv ]; then
- ../../index/zmbolsrv
-fi
-if [ -x ../../index/zebrasrv ]; then
- ../../index/zebrasrv
-fi
+$SRV