my $originfile = shift @ARGV;
my $clusterfile = shift @ARGV;
my $zone = shift @ARGV;
my $targetoriginfile = shift @ARGV;
my $originfile = shift @ARGV;
my $clusterfile = shift @ARGV;
my $zone = shift @ARGV;
my $targetoriginfile = shift @ARGV;
- YAML::DumpFile("statuscake.yml", $cache);
+ DumpFile("statuscake-$$.yml", $cache);
+ rename("statuscake-$$.yml", "statuscake.yml");