sci-libs/rocSPARSE: Replace obsolete egrep call

Signed-off-by: Pacho Ramos <pacho@gentoo.org>
This commit is contained in:
Pacho Ramos
2022-12-04 15:16:22 +01:00
parent 09dac3a7ca
commit 07bfce3c4a

View File

@@ -91,7 +91,7 @@ src_prepare() {
mkdir -p "${BUILD_DIR}"/clients/matrices
# compile and use the mtx2csr converter. Do not use any optimization flags, because it causes error!
edo $(tc-getCXX) deps/convert.cpp -o deps/convert
find "${WORKDIR}" -maxdepth 2 -regextype egrep -regex ".*/(.*)/\1\.mtx" -print0 |
find "${WORKDIR}" -maxdepth 2 -regextype grep -E -regex ".*/(.*)/\1\.mtx" -print0 |
while IFS= read -r -d '' mtxfile; do
destination=${BUILD_DIR}/clients/matrices/$(basename -s '.mtx' ${mtxfile}).csr
ebegin "Converting ${mtxfile} to ${destination}"