]> git.openstreetmap.org Git - chef.git/commitdiff
Fix unterminated string
authorTom Hughes <tom@compton.nu>
Thu, 6 Sep 2018 09:47:29 +0000 (10:47 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 6 Sep 2018 09:47:40 +0000 (10:47 +0100)
cookbooks/planet/templates/default/users-deleted.erb

index a4d4c71f05f5bee0f6ff2f17324d62355b3df745..acad844a235ffac973a0436dc219bd89fdf60adf 100644 (file)
@@ -10,7 +10,7 @@ export PGPASSFILE=/etc/replication/users-agreed.conf
 echo "# user IDs of deleted users. " > $T/users_deleted
 psql -h <%= node[:web][:readonly_database_host] %> -U planetdiff -t -c "select id from users where status='deleted' order by id asc" openstreetmap >> $T/users_deleted
 
-if cmp -s "${T}/users_deleted "/store/planet/users_deleted.txt"; then
+if cmp -s "${T}/users_deleted" "/store/planet/users_deleted.txt"; then
   : # do nothing
 else
   cp $T/users_deleted /store/planet/users_deleted.txt