From 5720bd06faf717b6f05f33ca686598ed04d0c8c4 Mon Sep 17 00:00:00 2001 From: Damien LASSERRE Date: Mon, 24 Oct 2011 12:37:53 +0000 Subject: [PATCH] --- Sphinx.sh | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) 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 .`