Skip to content

Commit

Permalink
ifndef indentation issue
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
geoberle committed May 8, 2024
1 parent 2e01baa commit 13760df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev-infrastructure/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 13760df

Please sign in to comment.