From 9714d0d5131e360709d9df3df6264586bc78e116 Mon Sep 17 00:00:00 2001 From: mamgainp Date: Wed, 12 Jun 2019 15:39:41 +0100 Subject: [PATCH] fixes ifelse ladder --- Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Makefile b/Makefile index e3f0536..d5870ee 100644 --- a/Makefile +++ b/Makefile @@ -81,15 +81,12 @@ endif ifneq (,$(findstring Microsoft,$(shell uname -r))) DOWNLOADS_DIR=$(patsubst /mnt/c%,C:%,$(realpath ./downloads/)) -else -ifneq (,$(findstring Windows,$(shell echo ${OS}))) +else ifneq (,$(findstring Windows,$(shell echo ${OS}))) DOWNLOADS_DIR=$(shell pwd)/downloads/ else DOWNLOADS_DIR=$(realpath ./downloads/) endif -endif - # Try to figure out which archive to use from the architecture ifeq "$(ARCH)" "amd64" MQ_ARCHIVE_ARCH=X86-64