From 8088cb29028e3117955f73a5835fccf78ab934dc Mon Sep 17 00:00:00 2001 From: Paras Mamgain Date: Tue, 11 Jun 2019 13:59:22 +0100 Subject: [PATCH] fixes DOWNLOAD_DIR variable for windows --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 15d158d..25d5501 100644 --- a/Makefile +++ b/Makefile @@ -85,6 +85,11 @@ else DOWNLOADS_DIR=$(realpath ./downloads/) endif +#Try to pick up the downloads directory if rnning in windows +ifneq (,$(findstring Windows,$(shell echo ${OS}))) + DOWNLOADS_DIR=$(shell pwd)/downloads/ +endif + # Try to figure out which archive to use from the architecture ifeq "$(ARCH)" "amd64" MQ_ARCHIVE_ARCH=X86-64