mirror of
https://github.com/Zygo/bees.git
synced 2025-05-17 21:35:45 +02:00
Makefile: "which" is not portable
It was pointed out by Gentoo QA that "type -P" is a better choice. Signed-off-by: Kai Krakow <kai@kaishome.de>
This commit is contained in:
parent
51108f839d
commit
d7e235c178
2
Makefile
2
Makefile
@ -7,7 +7,7 @@ LIBEXEC_PREFIX ?= $(LIB_PREFIX)/bees
|
||||
|
||||
SYSTEMD_SYSTEM_UNIT_DIR ?= $(shell pkg-config systemd --variable=systemdsystemunitdir)
|
||||
|
||||
MARKDOWN := $(firstword $(shell which markdown markdown2 markdown_py 2>/dev/null || echo markdown))
|
||||
MARKDOWN := $(firstword $(shell type -P markdown markdown2 markdown_py 2>/dev/null || echo markdown))
|
||||
|
||||
# allow local configuration to override above variables
|
||||
-include localconf
|
||||
|
Loading…
x
Reference in New Issue
Block a user