[Bug 277395] ports-mgmt/portupgrade with lang/ruby32 fails with: undefined method `exists?' for File:Class
Date: Sun, 03 Mar 2024 12:31:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277395 --- Comment #12 from bagas <bagas1983@mail.ru> --- In fact, need to change two lines in two files, why is there so much water in the patch? https://people.freebsd.org/~tcberner/patches/0001-ports-mgmt-portupgrade-use-File.exist-instead-of-obs.patch bin/portsclean +- dirs.delete(d) if ! (File.exists?(d) && File.stat(d).directory?) ++ dirs.delete(d) if ! (File.exist?(d) && File.stat(d).directory?) lib/pkgtools/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.