This commit is contained in:
Damien LASSERRE 2011-10-24 12:37:06 +00:00
parent 105f061f0d
commit 4ac7b735ea

View File

@ -125,7 +125,11 @@ then
`cd config/${HOSTNAME}` `cd config/${HOSTNAME}`
for name in `ls` for name in `ls`
do do
a=($(echo $name | nawk -F"." '{$1=$1; print}')) string=one:two::four
oldIFS=$IFS
IFS=:
a=( $string )
IFS=$oldIFS
done done
echo ${listIndex[0]};exit echo ${listIndex[0]};exit
`cat files/config.sphinx >> indexeConf/sphinx.conf` `cat files/config.sphinx >> indexeConf/sphinx.conf`