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>2017-04-12 20:30:06 +0300
committerBryan Drewery <bryan@shatow.net>2017-04-12 20:34:03 +0300
commitd8662f2d2090b6eab0862ac6ccae601d95b0c485 (patch)
treea67248b7c69a96bb801b36c4f79dfe9165cc6f39 /src/share/poudriere/pkgclean.sh
parent6389846dfaf04bc551e0b007d2414503ab05e9b1 (diff)
pkgclean: Fix -a to work properly
Reported by: ian
Diffstat (limited to 'src/share/poudriere/pkgclean.sh')
-rwxr-xr-xsrc/share/poudriere/pkgclean.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/share/poudriere/pkgclean.sh b/src/share/poudriere/pkgclean.sh
index 789c5e80..ab387abc 100755
--- a/src/share/poudriere/pkgclean.sh
+++ b/src/share/poudriere/pkgclean.sh
@@ -124,7 +124,12 @@ export MASTERMNT
: ${PREPARE_PARALLEL_JOBS:=$(echo "scale=0; ${PARALLEL_JOBS} * 1.25 / 1" | bc)}
PARALLEL_JOBS=${PREPARE_PARALLEL_JOBS}
-read_packages_from_params "$@"
+if [ ${ALL} -eq 1 ]; then
+ LISTPORTS=
+ ALL=0
+else
+ read_packages_from_params "$@"
+fi
PACKAGES=${POUDRIERE_DATA}/packages/${MASTERNAME}