From 3b2e274907f416d9e7fc68c9852d3feac8425c25 Mon Sep 17 00:00:00 2001 From: Andrew Wood Date: Sat, 22 Jul 2023 20:20:48 +0100 Subject: [PATCH] Check for ctags and cproto before starting any work --- autoconf/scripts/index.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/autoconf/scripts/index.sh b/autoconf/scripts/index.sh index 0e0f067..6a9845f 100755 --- a/autoconf/scripts/index.sh +++ b/autoconf/scripts/index.sh @@ -15,6 +15,9 @@ # Requires ctags and cproto. # +command -v "ctags" || { echo "${0##*/}: ctags: command not found" 1>&2; exit 1; } +command -v "cproto" || { echo "${0##*/}: cproto: command not found" 1>&2; exit 1; } + OFFS=$1