From faaab30809b71c09fec45c8ebfa5f433eccdd6ed Mon Sep 17 00:00:00 2001 From: evandrocoan Date: Thu, 27 Feb 2020 00:42:49 -0300 Subject: [PATCH] Fixed syntax error near unexpected token `&&' due ANKI_EXTRA_PIP variable being undefined and added the last missing @ silencer on the Makefile. --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 50e51c844..e0d614d69 100644 --- a/Makefile +++ b/Makefile @@ -8,6 +8,10 @@ else ACTIVATE_SCRIPT := pyenv/bin/activate endif +ifndef ANKI_EXTRA_PIP + ANKI_EXTRA_PIP := echo The custom pip command variable ANKI_EXTRA_PIP was not defined... +endif + .SHELLFLAGS := -eu -o pipefail -c .DELETE_ON_ERROR: MAKEFLAGS += --warn-undefined-variables @@ -124,7 +128,7 @@ fix: .PHONY: add-buildhash add-buildhash: - ver=$$(cat meta/version); \ + @ver=$$(cat meta/version); \ hash=$$(cat meta/buildhash); \ rename "s/-$${ver}-/-$${ver}+$${hash}-/" dist/*-$$ver-*