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)
Wed, May 20, 12:49 AM
Unknown Object (File)
Tue, May 19, 11:02 PM
Unknown Object (File)
May 19 2026, 12:30 PM
Unknown Object (File)
May 18 2026, 10:31 PM
Unknown Object (File)
May 18 2026, 5:23 PM
Unknown Object (File)
May 10 2026, 6:06 AM
Unknown Object (File)
May 1 2026, 12:05 PM
Unknown Object (File)
Apr 30 2026, 12:38 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