GitLab CI: *both* commands to sed need a -e flag.

This commit is contained in:
Guy Harris 2021-02-15 15:29:53 -08:00
parent 2e9303b7b2
commit 2a1de77c72
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ build:rpm-fedora:
# sed, to strip out all the -W and -f options from lines
# containing /usr/bin/gcc.
- cmake3 -GNinja ..
- ninja rpm-package | sed -e '/\/usr\/bin\/gcc/s/ -W[a-zA-Z0-9-]*//' '/\/usr\/bin\/gcc/s/ -f[a-zA-Z0-9-]*//'
- ninja rpm-package | sed -e '/\/usr\/bin\/gcc/s/ -W[a-zA-Z0-9-]*//' -e '/\/usr\/bin\/gcc/s/ -f[a-zA-Z0-9-]*//'
needs:
- build:ubuntu-dist
test:rpm-fedora: