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)
Thu, Dec 11, 9:48 AM
Unknown Object (File)
Wed, Dec 10, 1:33 PM
Unknown Object (File)
Tue, Dec 9, 7:44 AM
Unknown Object (File)
Fri, Dec 5, 10:17 PM
Unknown Object (File)
Nov 14 2025, 11:43 PM
Unknown Object (File)
Nov 14 2025, 11:47 AM
Unknown Object (File)
Nov 14 2025, 3:28 AM
Unknown Object (File)
Nov 10 2025, 12:48 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