diff options
| author | Michael Forney <mforney@mforney.org> | 2020-04-15 20:59:40 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2020-04-15 20:59:40 -0700 |
| commit | c6f3270587d3e0c4c4897e8b1d9ef8729802cdeb (patch) | |
| tree | e42d03ac9e2b69ab64ddeb30de818db4bb4d6d90 /pkg/musl | |
| parent | 7a6fd386c2b706b4723b0df4b71fa4f6368005cb (diff) | |
musl: Fix portability of sed expression
Diffstat (limited to 'pkg/musl')
| -rw-r--r-- | pkg/musl/gen.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/musl/gen.lua b/pkg/musl/gen.lua index 8c248b74..aeb33621 100644 --- 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}']]}) |
