From cdf5eb38bef511fe616f299da088bad4996cf212 Mon Sep 17 00:00:00 2001 From: Yuanle Song Date: Fri, 21 Feb 2020 01:30:05 +0800 Subject: [PATCH] minor, fix Makefile if expression. should not use [ ] when condition is a command --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 12b8765..9f895ca 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ zip: #========================== dist: dist-check build: - if [ ! python3 -m pytest --version ]; then python3 -m pip install --user pytest; fi + if ! python3 -m pytest --version; then python3 -m pip install --user pytest; fi python3 -m pytest build.py ./build.py sed -i "s/PKG_VERSION/$(VERSION)/g" zero-input.el -- GitLab