Skip to content

Commit fa3aa3b

Browse files
committed
Use glob pattern to test for pypy
1 parent d7df055 commit fa3aa3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/compile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ if [[ ! $VERSION ]] ; then
1313
fi
1414

1515
function install_numpy() {
16-
if [[ $VERSION =~ ^pypy ]]; then
16+
if [[ $VERSION == pypy* ]]; then
1717
$HOME/virtualenv/$VIRTENV_VERSION/bin/pip -m pip install git+https://bitbucket.org/pypy/numpy.git
1818
else
1919
$HOME/virtualenv/$VIRTENV_VERSION/bin/pip install --upgrade $CPYTHON_ONLY_PKGS

0 commit comments

Comments
 (0)