Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
Upgrade UPX to 3.95
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Simon <simon@swine.de>
  • Loading branch information
simonswine committed Jan 30, 2019
1 parent 77ed10c commit 01d0188
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,10 @@ $(BINDIR)/npm: $(BINDIR)/node
# upx binary packer, only supported on Linux
$(BINDIR)/upx:
ifeq ($(UNAME_S),Linux)
curl -sL -o $@.tar.xz https://github.com/upx/upx/releases/download/v3.94/upx-3.94-amd64_linux.tar.xz
echo "e1fc0d55c88865ef758c7e4fabbc439e4b5693b9328d219e0b9b3604186abe20 $@.tar.xz" | $(SHASUM)
curl -sL -o $@.tar.xz https://github.com/upx/upx/releases/download/v3.95/upx-3.95-amd64_linux.tar.xz
echo "b5d6856b89dd696138ad8c7245a8f0dae4b76f41b5a31c7c43a21bc72c479c4e $@.tar.xz" | $(SHASUM)
which xz || ( apt-get update && apt-get -y install xz-utils)
cd $(BINDIR) && tar xvf $(shell basename $@).tar.xz upx-3.94-amd64_linux/upx --strip-components=1
cd $(BINDIR) && tar xvf $(shell basename $@).tar.xz upx-3.95-amd64_linux/upx --strip-components=1
rm $@.tar.xz
else
echo -e "#/bin/sh\nexit 0" > $@
Expand Down

0 comments on commit 01d0188

Please sign in to comment.