Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/freebsd/poudriere.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Marino <draco@marino.st>2014-10-10 17:39:11 +0400
committerJohn Marino <draco@marino.st>2014-10-10 17:39:11 +0400
commit42afeb23b79bc406017fbe6524b62c81f99e6307 (patch)
tree34f398fff890e743540be9b26d2161c10f6afe3e
parent8795d237353ab85bf088e33d0516e4c0220ff87d (diff)
change distfile message to new job_msg_debug
-rwxr-xr-xsrc/share/poudriere/common.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/share/poudriere/common.sh b/src/share/poudriere/common.sh
index aec07e7e..dd1af4ae 100755
--- a/src/share/poudriere/common.sh
+++ b/src/share/poudriere/common.sh
@@ -190,6 +190,11 @@ job_msg_verbose() {
job_msg "$@"
}
+job_msg_debug() {
+ [ ${VERBOSE} -gt 1 ] || return 0
+ job_msg "${COLOR_DEBUG}Debug: $@"
+}
+
check_jobs() {
case ${PARALLEL_JOBS} in
''|*[!0-9]*)
@@ -1631,7 +1636,7 @@ gather_distfiles() {
sub=$(injail make -C ${portdir} -VDIST_SUBDIR)
dists=$(injail make -C ${portdir} -V_DISTFILES -V_PATCHFILES)
specials=$(injail make -C ${portdir} -V_DEPEND_SPECIALS)
- #job_msg_verbose "Status ${COLOR_PORT}${portdir##/usr/ports/}${COLOR_RESET}: distfiles ${from} -> ${to}"
+ job_msg_debug "Status ${COLOR_PORT}${portdir##/usr/ports/}${COLOR_RESET}: distfiles ${from} -> ${to}"
for d in ${dists}; do
[ -f ${from}/${sub}/${d} ] || continue
tosubd=${to}/${sub}/${d}