Skip to content

Commit

Permalink
jail: Add '-s' options to MAKE_CMD by default
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Yasuhiro Kimura committed Nov 27, 2022
1 parent 3e65b65 commit 173f23c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/share/poudriere/jail.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 173f23c

Please sign in to comment.