From 9a7df86b69fb6c0287ec4c94a7b4e4b42d34177a Mon Sep 17 00:00:00 2001
From: "Kali Kaneko (leap communications)" <kali@leap.se>
Date: Tue, 17 Dec 2019 14:33:42 +0100
Subject: [PATCH] [pkg] typo and missing dir

---
 Makefile                             | 2 +-
 branding/templates/makefile/Makefile | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index b15bed4e..21a58795 100644
--- a/Makefile
+++ b/Makefile
@@ -123,7 +123,7 @@ build_all_providers:
 prepare: prepare_templates gen_pkg_win gen_pkg_osx gen_pkg_snap gen_pkg_deb prepare_done
 
 prepare_templates: generate relink_default tgz
-	@mkdir -p build/${PROVIDER}/bin/
+	@mkdir -p build/${PROVIDER}/bin/ deploy
 	@cp ${TEMPLATES}/makefile/Makefile build/${PROVIDER}/Makefile
 	@VERSION=${VERSION} PROVIDER_CONFIG=${PROVIDER_CONFIG} ${SCRIPTS}/generate-vendor-make.py build/${PROVIDER}/vendor.mk
 ifeq (${SKIP_CACHECK}, no)
diff --git a/branding/templates/makefile/Makefile b/branding/templates/makefile/Makefile
index 8acb01a8..e272095a 100755
--- a/branding/templates/makefile/Makefile
+++ b/branding/templates/makefile/Makefile
@@ -44,7 +44,7 @@ endif
 
 sign_win:
 	echo "[+] signing windows build"
-	python windowns/sign.py $(WIN_CERT_PATH) $(WIN_CERT_PASS)
+	python windows/sign.py $(WIN_CERT_PATH) $(WIN_CERT_PASS)
 
 # -----------------------------------------------------------------------------
 # OSX
@@ -67,7 +67,7 @@ ifeq ($(SYSTEM), Darwin)
 else
 	cd osx && APPNAME=$(APPNAME) VERSION=$(VERSION) ./cross-quickpkg
 endif
-	mv dist/$(APPNAME)-$(VERSION)_unsigned.pkg ../../deploy/
+	mv dist/$(APPNAME)-$(VERSION)*.pkg ../../deploy/
 
 # -----------------------------------------------------------------------------
 # Linux 
-- 
GitLab