fixes ifelse ladder

This commit is contained in:
mamgainp
2019-06-12 15:39:41 +01:00
parent 6691438fa1
commit 9714d0d513

View File

@@ -81,15 +81,12 @@ 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 else ifneq (,$(findstring Windows,$(shell echo ${OS})))
ifneq (,$(findstring Windows,$(shell echo ${OS})))
DOWNLOADS_DIR=$(shell pwd)/downloads/ DOWNLOADS_DIR=$(shell pwd)/downloads/
else else
DOWNLOADS_DIR=$(realpath ./downloads/) DOWNLOADS_DIR=$(realpath ./downloads/)
endif endif
endif
# Try to figure out which archive to use from the architecture # Try to figure out which archive to use from the architecture
ifeq "$(ARCH)" "amd64" ifeq "$(ARCH)" "amd64"
MQ_ARCHIVE_ARCH=X86-64 MQ_ARCHIVE_ARCH=X86-64