This commit is contained in:
Damien LASSERRE 2011-10-24 09:35:49 +00:00
parent 3985ffdfee
commit 1eda9c587c

View File

@ -121,8 +121,17 @@ then
fi
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`
`cp indexeConf/sphinx.conf .`