From 1259bed3f1d316874fc4eb790fd9ef31bffeab0f Mon Sep 17 00:00:00 2001
From: "Kali Kaneko (leap communications)" <kali@leap.se>
Date: Wed, 4 Sep 2019 23:32:11 +0200
Subject: [PATCH] [pkg] chmod +x

otherwise we fail miserably. maybe we could do some extra diagnostics when openvpn fails to start.
---
 branding/templates/makefile/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/branding/templates/makefile/Makefile b/branding/templates/makefile/Makefile
index 164e53cb..3e6332f4 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/
-- 
GitLab