Merge pull request #336 from mamgainp/windows

Windows
This commit is contained in:
Rob Parker
2019-06-13 09:39:10 +01:00
committed by GitHub

View File

@@ -81,6 +81,8 @@ endif
ifneq (,$(findstring Microsoft,$(shell uname -r))) ifneq (,$(findstring Microsoft,$(shell uname -r)))
DOWNLOADS_DIR=$(patsubst /mnt/c%,C:%,$(realpath ./downloads/)) DOWNLOADS_DIR=$(patsubst /mnt/c%,C:%,$(realpath ./downloads/))
else ifneq (,$(findstring Windows,$(shell echo ${OS})))
DOWNLOADS_DIR=$(shell pwd)/downloads/
else else
DOWNLOADS_DIR=$(realpath ./downloads/) DOWNLOADS_DIR=$(realpath ./downloads/)
endif endif