diff --git a/Makefile b/Makefile index 59ed6d4..e3f0536 100644 --- a/Makefile +++ b/Makefile @@ -81,13 +81,13 @@ endif ifneq (,$(findstring Microsoft,$(shell uname -r))) DOWNLOADS_DIR=$(patsubst /mnt/c%,C:%,$(realpath ./downloads/)) +else +ifneq (,$(findstring Windows,$(shell echo ${OS}))) + DOWNLOADS_DIR=$(shell pwd)/downloads/ else DOWNLOADS_DIR=$(realpath ./downloads/) endif -#Try to pick up the downloads directory if running 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