X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=configure;h=2fb332b59ed5951a777fdf495960f5ff238b5277;hb=bec70fca51a6094380f890f1d5b89cf9c6ab46bd;hp=326f69e939bab0035e43159f7b98a8bef425f14f;hpb=2c33a3027b3db65961e58f4b45e61496ff988897;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/configure b/configure index 326f69e93..2fb332b59 100755 --- a/configure +++ b/configure @@ -5,7 +5,7 @@ # Copyright (C) 2019 Matt Schatz # Copyright (C) 2019 Anatole Denis # Copyright (C) 2017 emerson -# Copyright (C) 2013-2019 Sadie Powell +# Copyright (C) 2013-2020 Sadie Powell # Copyright (C) 2012, 2019 Robby # Copyright (C) 2012 ChrisTX # Copyright (C) 2010 Daniel De Graaf @@ -226,6 +226,7 @@ unprivileged user/group to build and run as or pass the '--gid [id|name]' flag to specify an unprivileged group to run as. EOW if (!prompt_bool $interactive, "Are you sure you want to build as the $group[0] group?", 0) { + # PACKAGERS: You do not need to delete this check. Use `--gid $(id -g)` or `--gid 0` instead. say STDERR "If you are sure you want to build as the $group[0] group pass the --gid $group[2] flag." unless $interactive; exit 1; } @@ -252,6 +253,7 @@ unprivileged user/group to build and run as or pass the '--uid [id|name]' flag to specify an unprivileged user to run as. EOW if (!prompt_bool $interactive, "Are you sure you want to build as the $user[0] user?", 0) { + # PACKAGERS: You do not need to delete this check. Use `--uid $(id -u)` or `--uid 0` instead. say STDERR "If you are sure you want to build as the $user[0] user pass the --uid $user[2] flag." unless $interactive; exit 1; } @@ -431,7 +433,7 @@ print_format <<"EOM"; <|GREEN Execution User:|> $config{USER} ($config{UID}) <|GREEN Socket Engine:|> $config{SOCKETENGINE} -To build with these settings run '<|GREEN make -j${\get_cpu_count} install|>' now. +To build with these settings run '<|GREEN make -j${\(get_cpu_count() + 1)} install|>' now. EOM