]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/templates/default/updater.erb
nominatim: fix typo
[chef.git] / cookbooks / nominatim / templates / default / updater.erb
index 8345205cb74099bf3baae9b42cdf8717efa4aed0..7e4af3a3047c34dfec404932410830f16150b0fe 100644 (file)
@@ -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