mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Fixed syntax error near unexpected token `&&' due ANKI_EXTRA_PIP
variable being undefined and added the last missing @ silencer on the Makefile.
This commit is contained in:
parent
f206940d5c
commit
faaab30809
1 changed files with 5 additions and 1 deletions
6
Makefile
6
Makefile
|
@ -8,6 +8,10 @@ else
|
||||||
ACTIVATE_SCRIPT := pyenv/bin/activate
|
ACTIVATE_SCRIPT := pyenv/bin/activate
|
||||||
endif
|
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
|
.SHELLFLAGS := -eu -o pipefail -c
|
||||||
.DELETE_ON_ERROR:
|
.DELETE_ON_ERROR:
|
||||||
MAKEFLAGS += --warn-undefined-variables
|
MAKEFLAGS += --warn-undefined-variables
|
||||||
|
@ -124,7 +128,7 @@ fix:
|
||||||
|
|
||||||
.PHONY: add-buildhash
|
.PHONY: add-buildhash
|
||||||
add-buildhash:
|
add-buildhash:
|
||||||
ver=$$(cat meta/version); \
|
@ver=$$(cat meta/version); \
|
||||||
hash=$$(cat meta/buildhash); \
|
hash=$$(cat meta/buildhash); \
|
||||||
rename "s/-$${ver}-/-$${ver}+$${hash}-/" dist/*-$$ver-*
|
rename "s/-$${ver}-/-$${ver}+$${hash}-/" dist/*-$$ver-*
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue