X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/c248d8595f12426b6d04b4e735e1e020b978f71f..a8930abf977175e1034465cb4e93d4d3673e366c:/cookbooks/nominatim/templates/default/nominatim-update-source.erb?ds=sidebyside diff --git a/cookbooks/nominatim/templates/default/nominatim-update-source.erb b/cookbooks/nominatim/templates/default/nominatim-update-source.erb index 70b6402a8..dacb6190e 100644 --- a/cookbooks/nominatim/templates/default/nominatim-update-source.erb +++ b/cookbooks/nominatim/templates/default/nominatim-update-source.erb @@ -9,6 +9,7 @@ date "+%c === Checking for new versions of Nominatim" cd <%= @srcdir %> git fetch origin +git fetch origin -tf if git diff --exit-code <%= node[:nominatim][:revision] %> >/dev/null; then # signal that there are no new updates @@ -19,5 +20,5 @@ git checkout --detach <%= node[:nominatim][:revision] %> git submodule update cd <%= @builddir %> -cmake -D WITH_LUAJIT=ON . +cmake . make