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
2
Makefile
2
Makefile
@ -2,7 +2,7 @@
|
|||||||
# Polybar development tasks
|
# Polybar development tasks
|
||||||
#
|
#
|
||||||
BUILDDIR ?= build
|
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
|
all: configure build link
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user