summaryrefslogtreecommitdiffstats
path: root/easy_e17.sh
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-01-16 08:23:58 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-01-16 08:23:58 +0100
commit1dc86d6d0e582e02a291f197d76345e8a2b2d6e2 (patch)
treebba0c9e66799ae5e39b8e32247a6cec6f3c6f307 /easy_e17.sh
parent0fd6772653355bbc5e2868859d7bd80ed86741fa (diff)
downloadbin-1dc86d6d0e582e02a291f197d76345e8a2b2d6e2.zip
bin-1dc86d6d0e582e02a291f197d76345e8a2b2d6e2.tar.gz
easy_e17.sh: remove trailing '\n' within config_files (allow multilines config)
Diffstat (limited to 'easy_e17.sh')
-rwxr-xr-xeasy_e17.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/easy_e17.sh b/easy_e17.sh
index bd8e60f..ee4dff8 100755
--- a/easy_e17.sh
+++ b/easy_e17.sh
@@ -333,7 +333,7 @@ function read_config_files ()
# read files
for file in $conf_files; do
for option in `cat "$file"`; do
- conf_options="$conf_options $option"
+ conf_options="$conf_options $(echo "$option" | tr -d '\n')"
done
done
my_args="$conf_options $my_args"