From 1ab7992640b9c40086eef1d151233e354d821ade Mon Sep 17 00:00:00 2001 From: Patrick Baudin <patrick.baudin@cea.fr> Date: Mon, 20 Jun 2022 17:33:22 +0200 Subject: [PATCH] Removes some TABs in share/Makefile.linting --- share/Makefile.linting | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/share/Makefile.linting b/share/Makefile.linting index 2ae15c8c269..b13d5892b2e 100644 --- a/share/Makefile.linting +++ b/share/Makefile.linting @@ -89,26 +89,26 @@ endif .lint/check-ocp-indent-version: if command -v $(OCP_INDENT) >/dev/null; then \ - if [ -z "$(shell $(OCP_INDENT) --version)" ]; then echo "warning: $(OCP_INDENT) returned an empty string, assuming it is the correct version"; \ - else \ - $(eval ocp_version_major := $(shell $(OCP_INDENT) --version | $(SED) -E "s/^([0-9]+)\.[0-9]+\..*/\1/")) \ - $(eval ocp_version_minor := $(shell $(OCP_INDENT) --version | $(SED) -E "s/^[0-9]+\.([0-9]+)\..*/\1/")) \ - if [ "$(ocp_version_major)" -lt 1 -o "$(ocp_version_minor)" -lt 7 ]; then \ - echo "error: $(OCP_INDENT) 1.7.0 required for linting (got $(ocp_version_major).$(ocp_version_minor))"; \ - exit 1; \ - fi; \ - fi; \ - else \ - exit 1; \ - fi; + if [ -z "$(shell $(OCP_INDENT) --version)" ]; then echo "warning: $(OCP_INDENT) returned an empty string, assuming it is the correct version"; \ + else \ + $(eval ocp_version_major := $(shell $(OCP_INDENT) --version | $(SED) -E "s/^([0-9]+)\.[0-9]+\..*/\1/")) \ + $(eval ocp_version_minor := $(shell $(OCP_INDENT) --version | $(SED) -E "s/^[0-9]+\.([0-9]+)\..*/\1/")) \ + if [ "$(ocp_version_major)" -lt 1 -o "$(ocp_version_minor)" -lt 7 ]; then \ + echo "error: $(OCP_INDENT) 1.7.0 required for linting (got $(ocp_version_major).$(ocp_version_minor))"; \ + exit 1; \ + fi; \ + fi; \ + else \ + exit 1; \ + fi; $(MKDIR) $(dir $@) $(TOUCH) $@ .lint/check-clang-format-installed: if ! command -v $(CLANG_FORMAT) >/dev/null; then \ - echo "error: $(CLANG_FORMAT) must be installed"; \ - exit 1; \ - fi; + echo "error: $(CLANG_FORMAT) must be installed"; \ + exit 1; \ + fi; mkdir -p $(dir $@) ############### @@ -151,7 +151,7 @@ LINT.clean-targets+= \ # Same list on both lines LINT.clean-targets+= \ - clean-check-indent + clean-check-indent .PHONY: clean-check-indent # Generic rule -- GitLab