Page MenuHomeFreeBSD

Replace @rmtry with a lua version
ClosedPublic

Authored by bapt on Feb 11 2020, 10:41 AM.
Tags
None
Referenced Files
F166429406: D23618.id68941.diff
Thu, Aug 13, 1:04 PM
F166282247: D23618.id68941.diff
Wed, Aug 12, 4:39 PM
F166278090: D23618.id71151.diff
Wed, Aug 12, 4:19 PM
Unknown Object (File)
Tue, Aug 11, 5:20 AM
Unknown Object (File)
Sat, Aug 8, 8:13 PM
Unknown Object (File)
Sat, Aug 8, 4:17 PM
Unknown Object (File)
Sat, Aug 8, 3:39 PM
Unknown Object (File)
Sat, Aug 8, 1:11 PM
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