aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NPTest.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/NPTest.pm b/NPTest.pm
index c0897d8a..c719776a 100644
--- a/NPTest.pm
+++ b/NPTest.pm
@@ -462,7 +462,10 @@ sub SaveCache
$dataDumper->Terse(1);
$dataDumper->Sortkeys(1);
- print $fileHandle $dataDumper->Dump();
+ my $data = $dataDumper->Dump();
+ $data =~ s/^\s+/ /gmx; # make sure all systems use same amount of whitespace
+ $data =~ s/^\s+}/}/gmx;
+ print $fileHandle $data;
$fileHandle->close();