summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2019-09-04 23:32:11 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2019-09-05 01:17:54 +0200
commit1259bed3f1d316874fc4eb790fd9ef31bffeab0f (patch)
tree4de722e6a0f519f1be007617ed1828c80d0e8e0d
parent2fd367a08f158c3485cb6639be3a0769fb7a650c (diff)
[pkg] chmod +x
otherwise we fail miserably. maybe we could do some extra diagnostics when openvpn fails to start.
-rwxr-xr-xbranding/templates/makefile/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/branding/templates/makefile/Makefile b/branding/templates/makefile/Makefile
index 164e53c..3e6332f 100755
--- a/branding/templates/makefile/Makefile
+++ b/branding/templates/makefile/Makefile
@@ -54,6 +54,7 @@ pkg_osx:
echo "[+] Building osx package..."
cp ../bin/darwin/bitmask-vpn dist/$(APPNAME).app/Contents/MacOS/
cp ../bin/darwin/bitmask-helper dist/$(APPNAME).app/Contents/MacOS/
+ chmod +x $(STAGING)/openvpn-osx
cp $(STAGING)/openvpn-osx dist/$(APPNAME).app/Contents/Resources/openvpn.leap
ifeq ($(SYSTEM), Darwin)
osx/quickpkg --output dist/$(APPNAME)-$(VERSION)_unsigned.pkg --scripts osx/scripts/ dist/$(APPNAME).app/