Commit a9a5cde8 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(fusiondirectory-setup): Do no force lowercase for variable values

Variable values were mistakenly converted to lowercase, which may cause
 problems in some cases like paths containing uppercase.

closes #5588
Showing with 2 additions and 2 deletions
+2 -2
......@@ -1862,9 +1862,9 @@ die ("! You have to run this script as root\n") if ($<!=0);
set_vars();
foreach my $arg ( @ARGV ) {
if (( lc($arg) =~ m/^--set-(.*)=(.*)$/ ) && (grep {$_ eq lc($1)} @vars_keys)) {
if (( $arg =~ m/^--set-(.*)=(.*)$/ ) && (grep {$_ eq lc($1)} @vars_keys)) {
$vars{lc($1)} = $2;
print "Setting $1 to $2\n";
print "Setting ".lc($1)." to $2\n";
set_vars();
} elsif ( $arg =~ m/^--set-config-(.*)=(.*)$/ ) {
set_config_var($1, $2);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment