Fix broken regex

This sed invocation uses extended regex syntax (i.e., un-escaped `|` and
parentheses capture groups) without the -E flag.
This commit is contained in:
Maxwell G 2024-02-02 02:42:57 +00:00
parent 8904f985ff
commit 9dfef28e2e
No known key found for this signature in database
GPG Key ID: F79E4E25E8C661F8

View File

@ -157,7 +157,7 @@ for f in $(grep -Frl numpy.distutils); do
done done
# Do not do benchmarking or coverage testing for RPM builds # Do not do benchmarking or coverage testing for RPM builds
sed -i '/^[[:blank:]]*"(asv|pytest-cov)"/d' pyproject.toml sed -Ei '/^[[:blank:]]*"(asv|pytest-cov)"/d' pyproject.toml
# No scikit-umfpack in Fedora # No scikit-umfpack in Fedora
sed -i '/^[[:blank:]]*"scikit-umfpack"/d' pyproject.toml sed -i '/^[[:blank:]]*"scikit-umfpack"/d' pyproject.toml