1 |
#!/bin/sh |
#!/bin/sh |
2 |
|
|
3 |
rm index/all index/all.prop |
ls index/*.prop | sed -e 's#index/##' -e 's#.prop##' | while read index ; do |
4 |
|
echo "checking $index" |
5 |
|
swish-e -f "index/$index" -w "a*" -m 1 > /dev/null || swish-e -S prog -c "config/$index" |
6 |
|
done |
7 |
|
|
8 |
|
rm -f index/all index/all.prop |
9 |
swish-e -M `ls index | grep -v \.prop$ | grep -v all | grep -v CVS | sed 's#^#./index/#'` index/all |
swish-e -M `ls index | grep -v \.prop$ | grep -v all | grep -v CVS | sed 's#^#./index/#'` index/all |
10 |
|
|
11 |
exit 1 |
exit 1 |