]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/templates/default/updater.erb
nominatim: run updates from build dir
[chef.git] / cookbooks / nominatim / templates / default / updater.erb
index b259c4ed687dd86e56595493c2a60824273f1d91..5c5a4448b5f6898e7ca99e628d24bb8abbd18d1d 100644 (file)
@@ -3,8 +3,7 @@
 # DO NOT EDIT - This file is being maintained by Chef
 
 # Change to Nominatim directory
-DIR="$( cd "$( dirname "$0" )" && pwd )"
-cd $DIR/..
+cd <%= @bindir %>
 
 while [ ! -f "<%= @update_stop_file %>" ]
 do