[151230] contrib/mp-buildbot/mpbb-cleanup

ryandesign at macports.org ryandesign at macports.org
Wed Aug 10 16:48:47 PDT 2016


Revision: 151230
          https://trac.macports.org/changeset/151230
Author:   ryandesign at macports.org
Date:     2016-08-10 16:48:47 -0700 (Wed, 10 Aug 2016)
Log Message:
-----------
mp-buildbot: fix cleanup to actually delete distfiles again

Modified Paths:
--------------
    contrib/mp-buildbot/mpbb-cleanup

Modified: contrib/mp-buildbot/mpbb-cleanup
===================================================================
--- contrib/mp-buildbot/mpbb-cleanup	2016-08-10 23:43:51 UTC (rev 151229)
+++ contrib/mp-buildbot/mpbb-cleanup	2016-08-10 23:48:47 UTC (rev 151230)
@@ -18,8 +18,8 @@
     "${option_prefix}/bin/port-tclsh" "${thisdir}/tools/uninstall-old-ports.tcl"
     echo
     echo "----> Deleting distfiles"
-    find "${option_prefix}/var/macports/distfiles" -type f -mtime +1 -print | sed -E 's/^/Deleting distfile /'
-    find "${option_prefix}/var/macports/distfiles" -type d -mindepth 1 -empty -print | sed -E 's/^/Deleting directory /'
+    find "${option_prefix}/var/macports/distfiles" -type f -mtime +1 -print -delete | sed -E 's/^/Deleting distfile /'
+    find "${option_prefix}/var/macports/distfiles" -type d -mindepth 1 -empty -print -delete | sed -E 's/^/Deleting directory /'
     echo
     for dir in build logs; do
         echo "----> Deleting ${dir}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160810/afc45cf6/attachment.html>


More information about the macports-changes mailing list