From f403ef61e7f6744bc50f2a2325e274525b6df776 Mon Sep 17 00:00:00 2001 From: Kayla Firestack Date: Tue, 19 Oct 2021 14:28:14 -0400 Subject: [PATCH] rst2man: convert `which` to `command -v` Signed-off-by: Kayla Firestack --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ee3f8fb..d788627 100644 --- a/Makefile +++ b/Makefile @@ -66,9 +66,9 @@ else INITRAMFS_DIR=/etc/initramfs-tools endif -RST2MAN:=$(shell which rst2man) +RST2MAN:=$(shell command -v rst2man) ifeq ($(RST2MAN),) - RST2MAN:=$(shell which rst2man.py) + RST2MAN:=$(shell command -v rst2man.py) ifeq ($(RST2MAN),) @echo "WARNING: no rst2man found! Man page not generated." endif -- 2.39.2