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)
Mon, Apr 8, 8:43 PM
Unknown Object (File)
Thu, Mar 28, 11:14 AM
Unknown Object (File)
Mar 2 2024, 3:55 PM
Unknown Object (File)
Feb 21 2024, 9:48 AM
Unknown Object (File)
Feb 21 2024, 9:48 AM
Unknown Object (File)
Feb 21 2024, 9:47 AM
Unknown Object (File)
Feb 21 2024, 9:47 AM
Unknown Object (File)
Feb 21 2024, 9:34 AM
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