summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2017-09-01 18:10:24 -0400
committerKali Kaneko <kali@leap.se>2017-09-01 18:10:47 -0400
commit1c720e855e11e5af59aa63d1a67b97e097509201 (patch)
tree020e756b2a276345b4577e9d065bb54dba62b5e2
parent8edeb443b62389bcde235f3c576f6f99270dd2ea (diff)
[pkg] fix brittle way of getting latest wheel
-rwxr-xr-xpkg/build_bundle_with_venv.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/build_bundle_with_venv.sh b/pkg/build_bundle_with_venv.sh
index 17fc0a2e..ce82c779 100755
--- a/pkg/build_bundle_with_venv.sh
+++ b/pkg/build_bundle_with_venv.sh
@@ -47,7 +47,7 @@ $VIRTUAL_ENV/bin/pip uninstall --yes leap.bitmask
$VIRTUAL_ENV/bin/python setup.py sdist bdist_wheel --universal
echo "[+] Installing Bitmask from latest wheel..."
-$VIRTUAL_ENV/bin/pip install `ls -ltr dist/*.whl | tail -n 1 | cut -d' ' -f 9`
+$VIRTUAL_ENV/bin/pip install `ls -tr dist/*.whl | tail -n 1`
# Get the bundled libzmq
$VIRTUAL_ENV/bin/pip install -I pyzmq --install-option="--zmq=bundled"