]> git.openstreetmap.org Git - dns.git/blobdiff - bin/mkgeo
Add kilgharrah to tile CDN
[dns.git] / bin / mkgeo
index 9b2e4d35f32d14d52dc8268650ed14d57eda8ae8..6944c456c550631034ac1a9045802a4f1845d4e3 100755 (executable)
--- a/bin/mkgeo
+++ b/bin/mkgeo
@@ -119,7 +119,8 @@ if ($ENV{STATUSCAKE_USERNAME} && $ENV{STATUSCAKE_APIKEY})
         }
     }
 
-    DumpFile("statuscake.yml", $cache);
+    DumpFile("statuscake-$$.yml", $cache);
+    rename("statuscake-$$.yml", "statuscake.yml");
 }
 
 # Mark a cluster as up if any servers are up