]> git.openstreetmap.org Git - chef.git/commitdiff
Generate planet-latest checksum files correctly
authorTom Hughes <tom@compton.nu>
Wed, 31 Dec 2014 07:57:04 +0000 (07:57 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 31 Dec 2014 07:57:04 +0000 (07:57 +0000)
cookbooks/planet/templates/default/planetdump.erb

index 6ee773444d4d7b00b48b1bc4b0449f4ff019217e..d891fc2eab4361cd73979ccf263bc449add0ffe0 100644 (file)
@@ -68,7 +68,7 @@ function install_dump {
   mv "${name}" "${name}.md5" "${dir}/${year}"
   ln -sf "${year:-.}/${name}" "${dir}/${latest}"
   rm -f "${dir}/${latest}.md5"
-  sed -e "s/${name}/${latest}/" "${dir}/${year}/${name}.md5" > "${dir}/${latest}.md5"
+  sed -e "s/${name}/${latest}/" "${dir}/${year}/${name}.md5" > "${dir}/${latest}.md5"
 }
 
 # Move dumps into place