diff options
Diffstat (limited to 'am-wrapper.sh')
-rwxr-xr-x | am-wrapper.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/am-wrapper.sh b/am-wrapper.sh index 2907626..492292c 100755 --- a/am-wrapper.sh +++ b/am-wrapper.sh @@ -1,7 +1,9 @@ #!/bin/sh -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +NAME="automake" + # Executes the correct automake version. # # If WANT_AUTOMAKE is set (can be a whitespace delimited list of versions): @@ -116,7 +118,7 @@ if [ -z "${binary}" ] && [ -n "${WANT_AUTOMAKE}" ] ; then fi if [ -z "${binary}" ] ; then - err "Unable to locate any usuable version of automake.\n" \ + err "Unable to locate any usuable version of ${NAME}.\n" \ "\tI tried these versions:${all_vers}\n" \ "\tWith a base name of '${full_argv0}'." fi @@ -179,7 +181,7 @@ export WANT_AUTOMAKE="${binary_ver}" if [ ! -x "${binary}" ] ; then # this shouldn't happen err "${binary} is missing or not executable.\n" \ - "\tPlease try installing the correct version of automake." + "\tPlease try installing the correct version of ${NAME}." fi exec "${binary}" "$@" |