From 070e650956e18ab54d949028dd2d0ba47391e1b9 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Wed, 22 Oct 2008 07:15:25 -0500 Subject: [PATCH 1/1] Better error message. * bootstrap (find_tool): Fix the error message. --- ChangeLog | 5 +++++ bootstrap | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index bd530d5b..6364361c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-11-15 Akim Demaille + + Better error message. + * bootstrap (find_tool): Fix the error message. + 2008-11-15 Akim Demaille Update variant.yy to newest interface. diff --git a/bootstrap b/bootstrap index f92d1ccd..dbeb0b8d 100755 --- a/bootstrap +++ b/bootstrap @@ -144,9 +144,9 @@ vc_ignore=auto # ------------------------- find_tool () { - # Find sha1sum, named gsha1sum on MacPorts. find_tool_envvar=$1 shift + find_tool_name=$@ if eval test x"\$$find_tool_envvar" = x; then for i do @@ -157,7 +157,7 @@ find_tool () done fi if test x"$find_tool_res" = x; then - echo >&2 "$0: $find_tool_name is required" + echo >&2 "$0: one of these is required: $find_tool_names" exit 1 fi ($find_tool_res --version /dev/null 2>&1 || { -- 2.45.2