Page MenuHomeFreeBSD

Replace @rmtry with a lua version
ClosedPublic

Authored by bapt on Feb 11 2020, 10:41 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 6, 3:53 AM
Unknown Object (File)
Sat, Oct 4, 5:20 AM
Unknown Object (File)
Aug 3 2025, 3:35 AM
Unknown Object (File)
Jul 22 2025, 11:59 AM
Unknown Object (File)
Jul 5 2025, 3:07 PM
Unknown Object (File)
Jul 1 2025, 8:26 AM
Unknown Object (File)
Jun 29 2025, 12:18 AM
Unknown Object (File)
Jun 24 2025, 1:02 AM
Subscribers

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Is there a docuentation of the pkg API for LUA ?

see the pkg-lua-script(5) provided with pkg 1.13

From pkg-lua-script(5):

The following function has been added:
 
out pkg.prefixed_path(in)
        prepend pkg_prefix to in if needed and returns it as out.

So, the doc says pkg.prefixed_path has one argument, and you are using two here.

prefixed_path only take one argument

This revision is now accepted and ready to land.Apr 29 2020, 2:04 PM