Page MenuHomeFreeBSD

Replace @rmtry with a lua version
Needs ReviewPublic

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

Details

Reviewers
None
Group Reviewers
portmgr

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Linters Available
Unit
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.