[Bug 277395] ports-mgmt/portupgrade with lang/ruby32 fails with: undefined method `exists?' for File:Class

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 01 Mar 2024 13:53:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277395

--- Comment #6 from bagas <bagas1983@mail.ru> ---
We are waiting for a global update of the patch to the portupgrade port.

I confirm that these changes work.

portsclean
+-    dirs.delete(d) if ! (File.exists?(d) && File.stat(d).directory?)
++    dirs.delete(d) if ! (File.exist?(d) && File.stat(d).directory?)

and 

pkgtools.rb
-  if File.exists?(custom_script)
+  if File.exist?(custom_script)

-- 
You are receiving this mail because:
You are on the CC list for the bug.