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
path: root/src/share
diff options
context:
space:
mode:
authorBryan Drewery <bryan@shatow.net>2014-04-23 03:20:27 +0400
committerBryan Drewery <bryan@shatow.net>2014-04-23 03:20:27 +0400
commit0774ef2ff9f432a6c61503d296cff53883f8b7e9 (patch)
tree47a2be86dccde93b7100214ab73bb41cfba000b7 /src/share
parent26d51af4cbe71e5a63f9774345efa695f1093dc2 (diff)
testport: Fix queued count being off by 1
MFH
Diffstat (limited to 'src/share')
-rwxr-xr-xsrc/share/poudriere/common.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/share/poudriere/common.sh b/src/share/poudriere/common.sh
index 67c053b3..30c6bd80 100755
--- a/src/share/poudriere/common.sh
+++ b/src/share/poudriere/common.sh
@@ -3180,6 +3180,7 @@ prepare_ports() {
if was_a_bulk_run && [ $resuming_build -eq 0 ]; then
nbq=0
nbq=$(find ${MASTERMNT}/poudriere/deps -type d -depth 1 | wc -l)
+ [ "${0##*/}" = "testport.sh" ] && nbq=$((${nbq} + 1))
bset stats_queued ${nbq##* }
fi