From 9a62d2f8ad2bc3e48f409ee9762c76c13ab9ae61 Mon Sep 17 00:00:00 2001 From: Stefan Date: Sun, 10 Sep 2017 07:43:13 +0200 Subject: [PATCH] Makefile: avoid using deprecated xargs arguments --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 90287f50c..5528bcd1b 100644 --- a/Makefile +++ b/Makefile @@ -48,7 +48,7 @@ ifdef GO_LATEST go vet $(BUILDTAGS) -printfuncs Debugf,Infof,Logf,Errorf ./... errcheck $(BUILDTAGS) $(GO_FILES) find . -name \*.go | grep -v /vendor/ | xargs goimports -d | grep . ; test $$? -eq 1 - go list ./... | grep -v /vendor/ | xargs -i golint {} | grep -E -v '(StorageUrl|CdnUrl)' ; test $$? -eq 1 + go list ./... | grep -v /vendor/ | xargs -n1 golint | grep -E -v '(StorageUrl|CdnUrl)' ; test $$? -eq 1 else @echo Skipping tests as not on Go stable endif