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
diff options
context:
space:
mode:
authorBryan Drewery <bryan@shatow.net>2019-08-28 23:11:55 +0300
committerBryan Drewery <bryan@shatow.net>2019-08-28 23:11:55 +0300
commit122329edcb34510929085c14d3359c8f7f78f128 (patch)
tree9220b062a355a398ff6c21c037a1c63639d39c98 /src
parent08099447afa118d0a3d30938a8fc53fed16cf7ef (diff)
Fix inverted logic.
Issue #699
Diffstat (limited to 'src')
-rwxr-xr-xsrc/share/poudriere/distclean.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/share/poudriere/distclean.sh b/src/share/poudriere/distclean.sh
index e8881739..10732597 100755
--- a/src/share/poudriere/distclean.sh
+++ b/src/share/poudriere/distclean.sh
@@ -188,6 +188,6 @@ do_confirm_delete "${DISTFILES_LIST}.unexpected" "stale distfiles" \
if [ ${ret} -eq 2 ]; then
exit 0
fi
-if [ "${DRY_RUN}" -eq 1 ]; then
+if [ "${DRY_RUN}" -eq 0 ]; then
find ${DISTFILES_CACHE}/ -type d -empty -delete
fi