From afd291e6abcc04c56221507ff9b06f0eaca111b6 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sun, 27 Mar 2011 11:49:35 +0200 Subject: [PATCH] gsu: Fix handling of config options with newlines. Without this, newlines are transformed into spaces. --- funcs/gsu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2