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 14, 12:50 PM
Unknown Object (File)
Mon, Apr 14, 12:33 PM
Unknown Object (File)
Mar 20 2025, 3:30 PM
Unknown Object (File)
Mar 9 2025, 2:19 AM
Unknown Object (File)
Mar 7 2025, 2:24 AM
Unknown Object (File)
Feb 21 2025, 1:25 AM
Unknown Object (File)
Jan 24 2025, 7:10 PM
Unknown Object (File)
Jan 24 2025, 5:29 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