Page MenuHomeFreeBSD

Replace @rmtry with a lua version
Needs ReviewPublic

Authored by bapt on Tue, Feb 11, 10:41 AM.


Group Reviewers

Diff Detail

rP FreeBSD ports repository
No Linters Available
No Unit Test Coverage
Build Status
Buildable 29288
Build 27198: arc lint + arc unit

Event Timeline

bapt created this revision.Tue, Feb 11, 10:41 AM
Herald added a subscriber: mat. · View Herald Transcript
mat added a comment.Tue, Feb 11, 11:37 AM

Is there a docuentation of the pkg API for LUA ?

bapt added a comment.Tue, Feb 11, 12:42 PM

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

mat added a comment.Wed, Feb 12, 1:43 PM

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.