FreeBSD Bugzilla – Attachment 196131 Details for
Bug 230566
ports-mgmt/portupgrade-devel: change pattern to allow portsclean to remove flavor-work-dirs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
portsclean.diff
portsclean.diff (text/plain), 640 bytes, created by
Kurt Jaeger
on 2018-08-12 17:10:44 UTC
(
hide
)
Description:
portsclean.diff
Filename:
MIME Type:
Creator:
Kurt Jaeger
Created:
2018-08-12 17:10:44 UTC
Size:
640 bytes
patch
obsolete
>--- bin/portsclean 2018-03-09 19:59:29.000000000 +0100 >+++ /home/pi/bin/portsclean 2018-08-12 19:06:56.356177000 +0200 >@@ -177,13 +177,13 @@ > wrkdirprefix.gsub!(%r"/(?=/|$)", '') > > if wrkdirprefix.empty? >- puts "Cleaning out #{$ports_dir}/*/*/work..." >+ puts "Cleaning out #{$ports_dir}/*/*/work*..." > > # Ruby's glob yields the given block everytime a new matching > # entry is found, so it doesn't overflow, and we don't have to > # wait until everything is found. > >- Dir.glob(File.join($ports_dir, "*/*/work")) do |dir| >+ Dir.glob(File.join($ports_dir, "*/*/work*")) do |dir| > delete_dir dir > end >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 230566
: 196131