summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2019-09-15 01:13:17 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2019-09-15 01:13:17 +0200
commit63eba2997c19acb8fc98952cabf5026bd6ee0aa2 (patch)
tree46f2484b29edf2f0b57e0bcbed04df949ae05ab7
parent6f21582d5e809b8f44c0165104ed21f1b535121c (diff)
[pkg] do not fail if the folder exists
-rwxr-xr-xMakefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 85a4d8f..d5e74ed 100755
--- a/Makefile
+++ b/Makefile
@@ -12,9 +12,10 @@ VERSION = $(shell git -C `go env GOPATH`/src/$(SYSTRAY) describe --tags --alway
TGZ_PATH = $(shell pwd)/dist/$(APPNAME)-$(VERSION)
tgz:
+ # XXX not needed anymore
mkdir -p $(TGZ_PATH)
git -C `go env GOPATH`/src/$(SYSTRAY) archive HEAD | tar -x -C $(TGZ_PATH)
- mkdir $(TGZ_PATH)/helpers
+ mkdir -p $(TGZ_PATH)/helpers
wget -O $(TGZ_PATH)/helpers/bitmask-root https://0xacab.org/leap/bitmask-dev/raw/master/src/leap/bitmask/vpn/helpers/linux/bitmask-root
chmod +x $(TGZ_PATH)/helpers/bitmask-root
wget -O $(TGZ_PATH)/helpers/se.leap.bitmask.policy https://0xacab.org/leap/bitmask-dev/raw/master/src/leap/bitmask/vpn/helpers/linux/se.leap.bitmask.policy