nominatim: fix typo
authorSarah Hoffmann <lonvia@denofr.de>
Sat, 27 May 2017 13:59:45 +0000 (15:59 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sat, 27 May 2017 13:59:45 +0000 (15:59 +0200)
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