From c11a8ec4f62df07c06315f45a914602fb2818cc2 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Sat, 27 May 2017 15:59:45 +0200 Subject: [PATCH] nominatim: fix typo --- cookbooks/nominatim/templates/default/updater.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5