diff --git a/Sphinx.sh b/Sphinx.sh index 651d3bc..60eeee2 100755 --- a/Sphinx.sh +++ b/Sphinx.sh @@ -123,15 +123,13 @@ then liste=`ls config/${HOSTNAME}` IFS='.' `cd config/${HOSTNAME}` - for name in `ls` - do - string=one:two::four - oldIFS=$IFS - IFS=: - a=( $string ) - IFS=$oldIFS - done - echo ${listIndex[0]};exit + + string=one:two::four + oldIFS=$IFS + IFS=: + a=( $string ) + IFS=$oldIFS + exit `cat files/config.sphinx >> indexeConf/sphinx.conf` `cp indexeConf/sphinx.conf .`