diff options
Diffstat (limited to 'source4/build/smb_build/config_mk.pm')
-rw-r--r-- | source4/build/smb_build/config_mk.pm | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/source4/build/smb_build/config_mk.pm b/source4/build/smb_build/config_mk.pm index eaf7079352..f852e345ac 100644 --- a/source4/build/smb_build/config_mk.pm +++ b/source4/build/smb_build/config_mk.pm @@ -6,6 +6,11 @@ ### Released under the GNU GPL ### ########################################################### +package config_mk; +use input; + +use strict; + ########################################################### # The parsing function which parses the file # @@ -188,9 +193,9 @@ sub _fetch_var_from_config_mk($$$) } if (defined($result->{$section}{$key})) { - $val = strtrim($result->{$section}{$key}{VAL}); + $val = input::strtrim($result->{$section}{$key}{VAL}); } elsif (defined($result->{DEFAULT}{$key})) { - $val = strtrim($result->{DEFAULT}{$key}{VAL}); + $val = input::strtrim($result->{DEFAULT}{$key}{VAL}); } return $val; @@ -225,9 +230,9 @@ sub _fetch_array_from_config_mk($$$) } if (defined($result->{$section}{$key})) { - @val = str2array($result->{$section}{$key}{VAL}); + @val = input::str2array($result->{$section}{$key}{VAL}); } elsif (defined($result->{DEFAULT}{$key})) { - @val = str2array($result->{DEFAULT}{$key}{VAL}); + @val = input::str2array($result->{DEFAULT}{$key}{VAL}); } return @val; |