From bb751add0d06190d0621499ba3ff188fab242179 Mon Sep 17 00:00:00 2001 From: Christoph Date: Sat, 25 Apr 2020 17:45:06 +0200 Subject: [PATCH] install_update_dovecot.sh: make use of more processor capacities. --- install_update_dovecot.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install_update_dovecot.sh b/install_update_dovecot.sh index 00afbf0..d249346 100755 --- a/install_update_dovecot.sh +++ b/install_update_dovecot.sh @@ -378,6 +378,10 @@ done [ $OK = "Yes" -o $OK = "yes" -o "$OK" = "ja" -o "$OK" = "Ja" ] || fatal "Edit '$(basename $conf_file)' and correct variables" +## - Let make use multiple cores (-j) +## - +export MAKEFLAGS=-j$(expr `grep "^processor" /proc/cpuinfo | sort -u | wc -l` - 1) + # ------------- # - Begin Install/Update