fixes DOWNLOAD_DIR variable for windows

This commit is contained in:
Paras Mamgain
2019-06-11 13:59:22 +01:00
parent a2ce23aa96
commit 8088cb2902

View File

@@ -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