Skip site navigation (1)Skip section navigation (2)
In-Reply-To: <bug-277395-21402@https.bugs.freebsd.org/bugzilla/>
References:  <bug-277395-21402@https.bugs.freebsd.org/bugzilla/>

| previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277395

--- Comment #15 from Harald Langner <hlangner@alice-dsl.net> ---
(In reply to Tobias C. Berner from comment #1)
Hi,
why not change the tow typo's?
In Version : 2.4.16_3,2 the error is still there.

in /usr/local/sbin/portsclean=20
change .exits to exist
285 #HL    dirs.delete(d) if ! (File.exists?(d) && File.stat(d).directory?)
    dirs.delete(d) if ! (File.exist?(d) && File.stat(d).directory?)

and in
/usr/local/lib/ruby/site_ruby/3.2/pkgtools
change .exits to exist

527 #HL:  if File.exists?(custom_script)
  if File.exist?(custom_script)

and all is working fine.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?>