diff --git a/Sphinx.sh b/Sphinx.sh index 1d7a3b2..f2fbac5 100755 --- a/Sphinx.sh +++ b/Sphinx.sh @@ -123,15 +123,8 @@ then liste=`ls config/${HOSTNAME}` IFS='.' `cd config/${HOSTNAME}` - for name in `ls` - do - i=0 - for index in ${name} - do - echo $index - done - done - echo ${listIndex[0]};exit + a=($(echo $string | nawk -F":" '{$1=$1; print}')) + exit `cat files/config.sphinx >> indexeConf/sphinx.conf` `cp indexeConf/sphinx.conf .`