opkg

statically linked package installer
git clone anongit@rnpnr.xyz:opkg.git
Log | Files | Refs | Feed | Submodules | README | LICENSE

Commit: ec8138a869c89812b7e74fcbde8dea7a142aa16d
Parent: 811ac18682aca784b506bfea106d0866813f1f2a
Author: Michael Forney
Date:   Mon,  1 Jan 2024 11:45:34 -0800

Allow nested tables in copy() file list

Diffstat:
Mninja.lua | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ninja.lua b/ninja.lua @@ -497,9 +497,9 @@ end function copy(outdir, srcdir, files) local outs = {} - for i, file in ipairs(files) do + for file in iterstrings(files) do local out = outdir..'/'..file - outs[i] = out + table.insert(outs, out) build('copy', out, srcdir..'/'..file) end return outs