]> git.openstreetmap.org Git - dns.git/commitdiff
Fix name of generated JSON files
authorTom Hughes <tom@compton.nu>
Thu, 27 Feb 2020 20:25:34 +0000 (20:25 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 27 Feb 2020 20:25:34 +0000 (20:25 +0000)
bin/mkgeo

index 881f2686342f8ae6be90c611405d7ad57fad960c..9cfb6c124c6b9e421935af4126136df7c17426d5 100755 (executable)
--- a/bin/mkgeo
+++ b/bin/mkgeo
@@ -205,7 +205,7 @@ my @json;
 
 # Open output files
 my $zonefile = IO::File->new("> include/${zone}.js") || die "$!";
-my $jsonfile = IO::File->new("> json/${zone}.json") || die "$!";
+my $jsonfile = IO::File->new("> json/${zone}.openstreetmap.org.json") || die "$!";
 
 # Output headers
 $zonefile->print("var \U${zone}\E_RECORDS = [\n");