1
0
mirror of https://github.com/Zygo/bees.git synced 2025-05-17 13:25:45 +02:00

docs: dash more useful than previously believed

It turns out both dash and bash support `command -v` so let's use that.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
Zygo Blaxell 2018-11-25 23:08:18 -05:00
parent ba5fda1605
commit f051d96d51
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
MARKDOWN := $(firstword $(shell bash -c 'type -P markdown markdown2 markdown_py' 2>/dev/null || echo markdown)) MARKDOWN := $(firstword $(shell command -v markdown markdown2 markdown_py 2>/dev/null || echo markdown))
.PHONY: docs .PHONY: docs
docs: $(subst .md,.html,$(wildcard *.md)) index.html ../README.html docs: $(subst .md,.html,$(wildcard *.md)) index.html ../README.html

View File

@ -22,7 +22,7 @@ Dependencies
* [Linux kernel version](btrfs-kernel.md) gets its own page. * [Linux kernel version](btrfs-kernel.md) gets its own page.
* markdown and bash for documentation * markdown for documentation
* util-linux version that provides `blkid` command for the helper * util-linux version that provides `blkid` command for the helper
script `scripts/beesd` to work script `scripts/beesd` to work