logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git
commit: c6f3270587d3e0c4c4897e8b1d9ef8729802cdeb
parent 7a6fd386c2b706b4723b0df4b71fa4f6368005cb
Author: Michael Forney <mforney@mforney.org>
Date:   Wed, 15 Apr 2020 20:59:40 -0700

musl: Fix portability of sed expression

Diffstat:

Mpkg/musl/gen.lua2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/musl/gen.lua b/pkg/musl/gen.lua @@ -72,7 +72,7 @@ build('sed', '$outdir/include/bits/alltypes.h', { }, {expr='-f $srcdir/tools/mkalltypes.sed'}) build('sed', '$outdir/include/bits/syscall.h', {'$srcdir/arch/'..arch..'/bits/syscall.h.in'}, { - expr='-n -e ps,__NR_,SYS_,p', + expr=[[-n -e 'p;s,__NR_,SYS_,p']], }) build('awk', '$outdir/version.h', '$dir/ver', {expr=[['{printf "#define VERSION \"%s\"\n", $$1}']]})