This commit is contained in:
parent
3985ffdfee
commit
1eda9c587c
13
Sphinx.sh
13
Sphinx.sh
@ -121,8 +121,17 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
liste=`ls config/${HOSTNAME}`
|
liste=`ls config/${HOSTNAME}`
|
||||||
set -a arr `echo "$liste[0]" | awk -F"." '{for(i=1;i<=NF;i++) print $i}'`
|
IFS='.'
|
||||||
|
`cd config/${HOSTNAME}`
|
||||||
|
for name in `ls`
|
||||||
|
do
|
||||||
|
for index in name
|
||||||
|
do
|
||||||
|
listeIndex[$i]=$index
|
||||||
|
(($i++))
|
||||||
|
done
|
||||||
|
done
|
||||||
|
print ${listIndex}
|
||||||
`cat files/config.sphinx >> indexeConf/sphinx.conf`
|
`cat files/config.sphinx >> indexeConf/sphinx.conf`
|
||||||
`cp indexeConf/sphinx.conf .`
|
`cp indexeConf/sphinx.conf .`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user