diff options
author | Benjamin Sago <ogham@bsago.me> | 2017-09-30 15:20:20 +0200 |
---|---|---|
committer | Benjamin Sago <ogham@bsago.me> | 2017-09-30 15:20:20 +0200 |
commit | 29bb3645f493e800a762e9b05d50f68afecbf990 (patch) | |
tree | b6ac564dc700ec09d64ff746fa3c1ab898d1b107 | |
parent | 877265bf4e8f4c42afcab231e89ee4a83fe1409b (diff) |
Don’t include the path in the zipped binaryv0.9.0-pre
The ‘package-exa’ script’s zip contained /vagrant/exa-linux-x86_64 instead of just exa-linux-x86_64, and I never noticed.
https://stackoverflow.com/a/9710181/3484614 told me what to do.
-rw-r--r-- | Vagrantfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Vagrantfile b/Vagrantfile index 02e65a0..1b98fd2 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -84,7 +84,7 @@ Vagrant.configure(2) do |config| echo 'echo -e "\nZipping binary..."' >> /usr/bin/package-exa echo "rm -f /vagrant/exa-linux-x86_64.zip" >> /usr/bin/package-exa - echo "zip /vagrant/exa-linux-x86_64.zip /vagrant/exa-linux-x86_64" >> /usr/bin/package-exa + echo "zip -j /vagrant/exa-linux-x86_64.zip /vagrant/exa-linux-x86_64" >> /usr/bin/package-exa echo 'echo -e "\nLibraries linked:"' >> /usr/bin/package-exa echo "ldd /vagrant/exa-linux-x86_64" >> /usr/bin/package-exa |