From: Sarah Hoffmann Date: Sat, 27 May 2017 13:59:45 +0000 (+0200) Subject: nominatim: fix typo X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/c11a8ec4f62df07c06315f45a914602fb2818cc2 nominatim: fix typo --- diff --git a/cookbooks/nominatim/templates/default/updater.erb b/cookbooks/nominatim/templates/default/updater.erb index 8345205cb..7e4af3a30 100644 --- a/cookbooks/nominatim/templates/default/updater.erb +++ b/cookbooks/nominatim/templates/default/updater.erb @@ -6,7 +6,7 @@ cd <%= @bindir %> num_cpus=`cat /proc/cpuinfo | grep -c processor` -num_cpus=(($num_cpus - 2)) +num_cpus=$((num_cpus - 2)) while [ ! -f "<%= @update_stop_file %>" ] do