From d003618e56bdc192b8d6c8f7e278f0288887737b Mon Sep 17 00:00:00 2001 From: Wouter Verhelst Date: Wed, 17 Jan 2024 12:11:35 +0200 Subject: [PATCH] Fix syntax type -p apparently doesn't work in a $() construct, so use which instead --- autogen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autogen.sh b/autogen.sh index 75ddd504..e7a634ae 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,6 +1,6 @@ #!/bin/sh set -ex -if [ -z "$(type -p docbook2man)" ]; then +if [ -z "$(which docbook2man)" ]; then if [ -z "$NO_MANPAGES" ]; then echo "E: docbook2man not found. Set NO_MANPAGES to a nonzero value to build without man pages" exit 1