From 27b612205e2f6d7cf6c69c74ea395ecdf99cdc27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Michael=20O=2E=20Hegg=C3=B8?= Date: Tue, 11 Jan 2022 21:49:38 +0100 Subject: [PATCH] dev: Fix Makefile compatiblity with Make 3.81 (#252) --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 697524d0..b86b2ef9 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,3 @@ -.ONESHELL: .PHONY: all deps build install lint test ci jira.server clean distclean ############## @@ -43,9 +42,9 @@ install: go install -ldflags='$(LDFLAGS)' ./... lint: - @if ! command -v golangci-lint > /dev/null 2>&1; then + @if ! command -v golangci-lint > /dev/null 2>&1; then \ curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | \ - sh -s -- -b "$$(go env GOPATH)/bin" v1.43.0 + sh -s -- -b "$$(go env GOPATH)/bin" v1.43.0 ; \ fi golangci-lint run ./...