mirror of
https://github.com/polybar/polybar.git
synced 2024-11-11 13:50:56 -05:00
fix(build): POSIX compliant command usage
Shells like dash do not support printing paths of more than one argument with the builtin `command -vp`.
This commit is contained in:
parent
44f12c6065
commit
98610461de
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -2,7 +2,7 @@
|
|||
# Polybar development tasks
|
||||
#
|
||||
BUILDDIR ?= build
|
||||
GENERATOR ?= $(shell command -vp ninja make | xargs basename | sed "s/ninja/Ninja/;s/make/Unix Makefiles/")
|
||||
GENERATOR ?= $(shell for c in ninja make; do command -vp $$c; done | xargs basename | sed "s/ninja/Ninja/;s/make/Unix Makefiles/")
|
||||
|
||||
all: configure build link
|
||||
|
||||
|
|
Loading…
Reference in a new issue