Fix README example

main
trivernis 2 months ago
parent 93cbb4ee33
commit 30ead8a621
Signed by: Trivernis
GPG Key ID: 7E6D18B61C8D2F4B

@ -131,7 +131,8 @@ local chmod = utils.ext 'chmod'
return {
-- Make `test-2/main` executable
after_apply_each = function(ctx)
if string.match(ctx.dst, "test-2/main") then
local fname = "test-2/main"
if string.sub(ctx.dst, -#fname) == fname then
chmod {"+x", ctx.dst}
end
end

Loading…
Cancel
Save