gleepglarps
12/11/2024, 12:39 PMxyny
12/11/2024, 12:53 PMfiftydinar
12/11/2024, 3:15 PMbuild_opts_check.sh script.
https://github.com/blue-build/github-action/blob/main/build_opts_check.sh
grep doesn't check for explicit wording, but for similar one.
so any option that starts with -s will be wrongly treated as squash provided option.
grep -o doesn't solve the issue either, so I would use awk here.fiftydinar
12/11/2024, 3:15 PMgidro@gidro-fedora:~$ grep -E '(-s)|(--squash)' <<< "--no-sign"
--no-signfiftydinar
12/11/2024, 3:36 PMxyny
12/11/2024, 6:03 PMv1.8.1 in a few moments.