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:
authorBryan Drewery <bryan@shatow.net>2019-12-04 03:09:03 +0300
committerBryan Drewery <bryan@shatow.net>2019-12-10 20:47:32 +0300
commit8aa50adf20b0eaeac6e2a35e27ee5086dce894cc (patch)
tree3b44d164b2e63d01257c03ba5003b013886d3b6f
parent2ddaed79f6433a1fa351cd42cce5539b3296421b (diff)
jail -i: Don't show ports tree info if not requested3.3.3
-rwxr-xr-xsrc/share/poudriere/jail.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/share/poudriere/jail.sh b/src/share/poudriere/jail.sh
index 15b10b8f..566d2f17 100755
--- a/src/share/poudriere/jail.sh
+++ b/src/share/poudriere/jail.sh
@@ -977,7 +977,7 @@ info_jail() {
if [ -n "${timestamp}" ]; then
echo "Jail updated: $(date -j -r ${timestamp} "+%Y-%m-%d %H:%M:%S")"
fi
- if porttree_exists ${PTNAME}; then
+ if [ "${PTNAME_ARG:-0}" -eq 1 ] && porttree_exists ${PTNAME}; then
_pget pmethod ${PTNAME} method
echo "Tree name: ${PTNAME}"
echo "Tree method: ${pmethod:--}"
@@ -1086,6 +1086,7 @@ while getopts "biJ:j:v:a:z:m:nf:M:sdkK:lqcip:r:uU:t:z:P:S:DxC:" FLAG; do
;;
p)
PTNAME=${OPTARG}
+ PTNAME_ARG=1
;;
P)
[ -r ${OPTARG} ] || err 1 "No such patch"