From: Andre Noll Date: Mon, 5 Apr 2010 16:29:14 +0000 (+0200) Subject: gsu: Fix quoting for multi-line variables. X-Git-Url: http://git.tuebingen.mpg.de/?p=gsu.git;a=commitdiff_plain;h=c2d99a2ad3c90aa7fb96ab9da2badf70ff5acc7b gsu: Fix quoting for multi-line variables. The new para_adm topics command triggered this bug. --- diff --git a/funcs/gsu b/funcs/gsu index 7e066f7..ca2016a 100644 --- a/funcs/gsu +++ b/funcs/gsu @@ -331,8 +331,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