Skip to content

Commit 7da1269

Browse files
committed
Try -E flag
1 parent f13b0c2 commit 7da1269

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ function pre_build {
1212
# It will be for macOS builds that see the env vars
1313
# from the travis config.
1414
if [ -z "$NP_BUILD_DEP" ]; then return; fi
15-
local np_ver=$(echo $NP_BUILD_DEP | sed -r 's/^numpy[=<>! ]+([0-9.]+)/\1/')
15+
local np_ver=$(echo $NP_BUILD_DEP | sed -E 's/^numpy[=<>! ]+([0-9.]+)/\1/')
1616
if ! [[ $np_ver =~ ^[0-9.]+$ ]]; then
17-
echo "Could not parse NP_BUILD_DEP $NP_BUILD_DEP"
17+
echo "Could not parse NP_BUILD_DEP=$NP_BUILD_DEP"
1818
exit 1
1919
fi
2020
# Problem only arises for Numpy >= 1.20

0 commit comments

Comments
 (0)