From: Andre Noll Date: Sun, 27 Mar 2011 09:49:35 +0000 (+0200) Subject: gsu: Fix handling of config options with newlines. X-Git-Url: http://git.tuebingen.mpg.de/?p=gsu.git;a=commitdiff_plain;h=afd291e6abcc04c56221507ff9b06f0eaca111b6 gsu: Fix handling of config options with newlines. Without this, newlines are transformed into spaces. --- diff --git a/funcs/gsu b/funcs/gsu index 1d23973..3f7d379 100644 --- a/funcs/gsu +++ b/funcs/gsu @@ -378,7 +378,7 @@ _gsu_check_options() return esac - eval ${gsu_config_var_prefix}_$name='"'${val:=$default_value}'"' + eval ${gsu_config_var_prefix}_$name='"'\${val:=$default_value}'"' # Check option type. ATM, only num and string are supported # Other types may be added without breaking compatibility case "$option_type" in