summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-01-22 00:41:36 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-01-22 00:41:36 +0100
commitd6aa9fc2ab9e2a3de12255fc9c204b13ef296a6c (patch)
tree31868e5540bbd0b96880bd0b81bb76f92b100d60
parente987a296c33d0dab09428bf28140ced054130609 (diff)
downloadbin-d6aa9fc2ab9e2a3de12255fc9c204b13ef296a6c.zip
bin-d6aa9fc2ab9e2a3de12255fc9c204b13ef296a6c.tar.gz
easy_e17.sh: fix configuration files reading
-rwxr-xr-xeasy_e17.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/easy_e17.sh b/easy_e17.sh
index ee4dff8..eb5a62f 100755
--- a/easy_e17.sh
+++ b/easy_e17.sh
@@ -332,9 +332,7 @@ function read_config_files ()
conf_options=""
# read files
for file in $conf_files; do
- for option in `cat "$file"`; do
- conf_options="$conf_options $(echo "$option" | tr -d '\n')"
- done
+ conf_options="$conf_options $(cat $file | tr -d '\n')"
done
my_args="$conf_options $my_args"
}