Skip to content

Commit a615d78

Browse files
authored
Merge pull request #11 from alex/patch-1
shell best practice: fully quote every variable
2 parents 893d925 + 9700d97 commit a615d78

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

travis/build-wheels.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ yum install -y atlas-devel
66

77
# Compile wheels
88
for PYBIN in /opt/python/*/bin; do
9-
${PYBIN}/pip install -r /io/dev-requirements.txt
10-
${PYBIN}/pip wheel /io/ -w wheelhouse/
9+
"${PYBIN}/pip" install -r /io/dev-requirements.txt
10+
"${PYBIN}/pip" wheel /io/ -w wheelhouse/
1111
done
1212

1313
# Bundle external shared libraries into the wheels
1414
for whl in wheelhouse/*.whl; do
15-
auditwheel repair $whl -w /io/wheelhouse/
15+
auditwheel repair "$whl" -w /io/wheelhouse/
1616
done
1717

1818
# Install packages and test
1919
for PYBIN in /opt/python/*/bin/; do
20-
${PYBIN}/pip install python-manylinux-demo --no-index -f /io/wheelhouse
21-
(cd $HOME; ${PYBIN}/nosetests pymanylinuxdemo)
20+
"${PYBIN}/pip" install python-manylinux-demo --no-index -f /io/wheelhouse
21+
(cd "$HOME"; "${PYBIN}/nosetests" pymanylinuxdemo)
2222
done

0 commit comments

Comments
 (0)