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, Jul 6, 4:46 AM
Unknown Object (File)
Mon, Jul 6, 4:45 AM
Unknown Object (File)
Sun, Jul 5, 2:48 PM
Unknown Object (File)
Thu, Jul 2, 10:38 AM
Unknown Object (File)
Mon, Jun 29, 10:43 PM
Unknown Object (File)
Mon, Jun 29, 10:34 PM
Unknown Object (File)
Wed, Jun 24, 5:24 PM
Unknown Object (File)
Wed, Jun 24, 8:02 AM
Subscribers

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 29670
Build 27526: arc lint + arc unit

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