aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2019-08-07 12:27:24 +0200
committerDaniel Hahler <git@thequod.de>2019-08-07 12:27:59 +0200
commit95e1ce24e8b7e76c4edab92f20fd48682afa80a2 (patch)
tree0aadf3ae2ae28cbffc2033d0772e29aa75fdf75e
parentd75fc87decfa0a4ec8282aac4d6d6f47bf4a3bb0 (diff)
downloadrneovim-95e1ce24e8b7e76c4edab92f20fd48682afa80a2.tar.gz
rneovim-95e1ce24e8b7e76c4edab92f20fd48682afa80a2.tar.bz2
rneovim-95e1ce24e8b7e76c4edab92f20fd48682afa80a2.zip
build: lint: fix exit with optional pylint
Ref: https://github.com/neovim/neovim/pull/10714#issuecomment-518932355
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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.