From 13760df3fa7d22b47557a16e76b0e8c95bad4829 Mon Sep 17 00:00:00 2001 From: Gerd Oberlechner Date: Wed, 8 May 2024 19:26:20 +0200 Subject: [PATCH] ifndef indentation issue tabbed conditionals seem to be unsupported in make (or at least the make version i have locally). when using tabs to indent the ifndef for ASCONFIG i get the following error. ```shell AKSCONFIG=abc make sv-cluster Makefile:41: *** "Must set AKSCONFIG". Stop ``` in order to not start an argument about "tabs vs spaces" and about "how many spaces", i removed the tabs. the makefile syntax seems to be fine with it. --- dev-infrastructure/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-infrastructure/Makefile b/dev-infrastructure/Makefile index 4f32654e8..7f86b8257 100644 --- a/dev-infrastructure/Makefile +++ b/dev-infrastructure/Makefile @@ -37,9 +37,9 @@ show: @echo "DNSZone/deployment : $(DEPLOYMENTNAME)" setsubscription: - ifndef AKSCONFIG +ifndef AKSCONFIG $(error "Must set AKSCONFIG") - endif +endif az account set --subscription $(HCPDEVSUBSCRIPTION) az account show