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)
Fri, Dec 13, 9:45 PM
Unknown Object (File)
Tue, Dec 10, 7:45 PM
Unknown Object (File)
Sat, Dec 7, 6:33 AM
Unknown Object (File)
Nov 26 2024, 4:23 PM
Unknown Object (File)
Nov 6 2024, 10:10 AM
Unknown Object (File)
Nov 6 2024, 5:16 AM
Unknown Object (File)
Nov 6 2024, 5:16 AM
Unknown Object (File)
Nov 6 2024, 5:16 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