This commit is contained in:
Damien LASSERRE 2011-10-24 12:37:53 +00:00
parent 4ac7b735ea
commit 5720bd06fa

View File

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