From 95e1ce24e8b7e76c4edab92f20fd48682afa80a2 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Wed, 7 Aug 2019 12:27:24 +0200 Subject: build: lint: fix exit with optional pylint Ref: https://github.com/neovim/neovim/pull/10714#issuecomment-518932355 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 243e371165..97bb3f43ae 100644 --- a/Makefile +++ b/Makefile @@ -185,7 +185,7 @@ appimage-%: lint: check-single-includes clint lualint @# Run pylint only if flake8 is installed. @command -v flake8 \ - && { $(MAKE) pylint; exit $?; } \ + && { $(MAKE) pylint; exit $$?; } \ || echo "SKIP: pylint (flake8 not found)" # Generic pattern rules, allowing for `make build/bin/nvim` etc. -- cgit