-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply patch to configure.pl to fix incompatibility with Data::Dumper>…
…2.182
- Loading branch information
Adrien Ferrand
committed
Oct 30, 2023
1 parent
9a0afeb
commit 1359364
Showing
3 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
diff --git a/configure.pl b/configure.pl | ||
index 6826ebc..d5deef5 100755 | ||
--- a/configure.pl | ||
+++ b/configure.pl | ||
@@ -668,7 +668,7 @@ if ( defined($Conf{CgiUserConfigEdit}) ) { | ||
if ( defined($Conf{CgiUserConfigEdit}{$p}) ); | ||
} | ||
$Conf{CgiUserConfigEdit} = $new; | ||
- my $d = Data::Dumper->new([$new], [*value]); | ||
+ my $d = Data::Dumper->new([$new]); | ||
$d->Indent(1); | ||
$d->Terse(1); | ||
$d->Sortkeys(1); | ||
diff --git a/lib/BackupPC/Storage/Text.pm b/lib/BackupPC/Storage/Text.pm | ||
index e9df664..09fcb24 100644 | ||
--- a/lib/BackupPC/Storage/Text.pm | ||
+++ b/lib/BackupPC/Storage/Text.pm | ||
@@ -422,7 +422,7 @@ sub ConfigFileMerge | ||
my $var = $1; | ||
$skipExpr = "\$fakeVar = $2\n"; | ||
if ( exists($newConf->{$var}) ) { | ||
- my $d = Data::Dumper->new([$newConf->{$var}], [*value]); | ||
+ my $d = Data::Dumper->new([$newConf->{$var}]); | ||
$d->Indent(1); | ||
$d->Terse(1); | ||
$d->Sortkeys(1); | ||
@@ -454,7 +454,7 @@ sub ConfigFileMerge | ||
# | ||
foreach my $var ( sort(keys(%$newConf)) ) { | ||
next if ( $done->{$var} ); | ||
- my $d = Data::Dumper->new([$newConf->{$var}], [*value]); | ||
+ my $d = Data::Dumper->new([$newConf->{$var}]); | ||
$d->Indent(1); | ||
$d->Terse(1); | ||
$d->Sortkeys(1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters