From f051d96d51aee970315ef924e055bc4fa7cd34fb Mon Sep 17 00:00:00 2001 From: Zygo Blaxell Date: Sun, 25 Nov 2018 23:08:18 -0500 Subject: [PATCH] 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 --- docs/Makefile | 2 +- docs/install.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Makefile b/docs/Makefile index 72639bd..aaaeea1 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -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 docs: $(subst .md,.html,$(wildcard *.md)) index.html ../README.html diff --git a/docs/install.md b/docs/install.md index f74f0c6..7958e2c 100644 --- a/docs/install.md +++ b/docs/install.md @@ -22,7 +22,7 @@ Dependencies * [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 script `scripts/beesd` to work