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:
-rwxr-xr-xsrc/bin/poudriere9
-rw-r--r--src/bin/poudriere.85
2 files changed, 11 insertions, 3 deletions
diff --git a/src/bin/poudriere b/src/bin/poudriere
index bdd776dc..dd534feb 100755
--- a/src/bin/poudriere
+++ b/src/bin/poudriere
@@ -39,7 +39,8 @@ Options:
-e etcdir -- Specify an alternate etc/ dir where poudriere configuration
resides.
-N -- Disable colors
-
+ -v -- Be verbose; show more information. Use twice to enable
+ debug output
Commands:
bulk -- Generate packages for given ports
distclean -- Remove old distfiles
@@ -59,7 +60,7 @@ EOF
}
SETX=""
-while getopts "e:Nx" FLAG; do
+while getopts "e:Nvx" FLAG; do
case "${FLAG}" in
e)
if [ ! -d "$OPTARG" ]; then
@@ -71,6 +72,9 @@ while getopts "e:Nx" FLAG; do
N)
USE_COLORS="no"
;;
+ v)
+ VERBOSE=$((${VERBOSE:-0} + 1))
+ ;;
x)
SETX="-x"
;;
@@ -113,6 +117,7 @@ CMD_ENV="${CMD_ENV} LIBEXECPREFIX=${LIBEXECPREFIX}"
CMD_ENV="${CMD_ENV} PATH=${LIBEXECPREFIX}:${PATH}:/sbin:/usr/sbin"
CMD_ENV="${CMD_ENV} POUDRIERE_VERSION=${POUDRIERE_VERSION}"
CMD_ENV="${CMD_ENV} POUDRIEREPATH=${POUDRIEREPATH}"
+[ -n "${VERBOSE}" ] && CMD_ENV="${CMD_ENV} VERBOSE=${VERBOSE}"
# Handle special-case commands first.
case "${CMD}" in
diff --git a/src/bin/poudriere.8 b/src/bin/poudriere.8
index 0e2da8a4..444c2f18 100644
--- a/src/bin/poudriere.8
+++ b/src/bin/poudriere.8
@@ -27,7 +27,7 @@
.\"
.\" Note: The date here should be updated whenever a non-trivial
.\" change is made to the manual page.
-.Dd March 2, 2017
+.Dd March 11, 2017
.Dt POUDRIERE 8
.Os
.Sh NAME
@@ -56,6 +56,9 @@ and
for more information.
.It Fl N
Disable color support.
+.It Fl v
+This will show more information during the build.
+Specify twice to enable debug output.
.El
.Sh COMMANDS
The first argument to