don't allow overriding the path to zsh

This commit is contained in:
Roman Perepelitsa 2020-11-26 11:17:01 +01:00
parent bc3158cba5
commit ff79e502ad

View file

@ -1,7 +1,7 @@
ZSH ?= $(shell command -v zsh 2> /dev/null)
ZSH := $(shell command -v zsh 2> /dev/null)
all:
pkg:
cd gitstatus && $(MAKE) ZSH=$(ZSH) pkg && cd ..
cd gitstatus && $(MAKE) pkg && cd ..
$(or $(ZSH),:) -fc 'for f in *.zsh-theme internal/*.zsh; do zcompile -R -- $$f.zwc $$f || exit; done'