From 173f23c2905375720e7eda7f42606136ce0930c1 Mon Sep 17 00:00:00 2001 From: Yasuhiro Kimura Date: Sun, 18 Jul 2021 05:15:06 +0900 Subject: [PATCH] jail: Add '-s' options to MAKE_CMD by default Add '-s' option to MAKE_CMD unless '-v' option of 'poudriere' is specified. This means less messages are displayed while building/installing/updating jail from source tree. --- src/share/poudriere/jail.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/share/poudriere/jail.sh b/src/share/poudriere/jail.sh index 725fa11592..a061bf578e 100755 --- a/src/share/poudriere/jail.sh +++ b/src/share/poudriere/jail.sh @@ -421,6 +421,9 @@ setup_build_env() { err 1 "You need fmake installed on the host: devel/fmake" MAKE_CMD=${FMAKE} fi + if ! [ ${VERBOSE} -gt 0 ]; then + MAKE_CMD="${MAKE_CMD} -s" + fi : ${CCACHE_BIN:="/usr/local/libexec/ccache"} if [ -n "${CCACHE_DIR}" -a -d ${CCACHE_BIN}/world ]; then