[makefile] make error message clearer with instructions (#4282)

* [makefile] make error message clearer with instructions

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
This commit is contained in:
Ying Xie 2020-03-19 23:26:45 -07:00 committed by GitHub
parent 59ea0daf35
commit e0e5f994fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,7 +48,7 @@ endif
# Check for j2cli availability
J2_VER := $(shell j2 --version 2>&1 | grep j2cli | awk '{printf $$2}')
ifeq ($(J2_VER),)
$(error Install j2cli)
$(error Please install j2cli (sudo pip install j2cli))
endif
# Check for minimum Docker version on build host