2
# Expects: <lurker-index> <config file>
7
if test -z "$idx" || test ! -x $idx; then echo Cannot execute indexer; exit 1; fi
8
if test -z "$cfg" || test ! -f $cfg; then echo Cannot read config; exit 1; fi
11
if echo "$idx" | grep -q '^\.'; then idx="$PWD/$idx"; fi
12
if echo "$cfg" | grep -q '^[^/~]'; then cfg="$PWD/$cfg"; fi
14
dbdir=`grep "[ ]*dbdir" $cfg | cut -d= -f2`
19
test -d .tmp || mkdir .tmp
26
gzip -dfc < $l | $idx -c $cfg -l $l -v -b 5