Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 154361
Collapse All | Expand All

(-)/usr/bin/automake (-1 / +9 lines)
Lines 55-62 Link Here
55
55
56
for v in ${vers} ; do
56
for v in ${vers} ; do
57
	eval binary_${v/./_}="${0}-${v}"
57
	eval binary_${v/./_}="${0}-${v}"
58
	if [[ -z $binary && -x "${0}-${v}" ]] ; then
59
		binary="${0}-${v}"
60
	fi
58
done
61
done
59
binary="${binary_1_10}"
60
62
61
#
63
#
62
# Check the WANT_AUTOMAKE setting
64
# Check the WANT_AUTOMAKE setting
Lines 123-128 Link Here
123
#
125
#
124
# Now try to run the binary
126
# Now try to run the binary
125
#
127
#
128
if [[ -z ${binary} ]] ; then
129
	echo "am-wrapper: no automake executables found." >&2
130
	echo "            Please try emerging a version of automake." >&2
131
	exit 1
132
fi
133
126
if [ ! -x "${binary}" ] ; then
134
if [ ! -x "${binary}" ] ; then
127
	echo "am-wrapper: $binary is missing or not executable." >&2
135
	echo "am-wrapper: $binary is missing or not executable." >&2
128
	echo "            Please try emerging the correct version of automake." >&2
136
	echo "            Please try emerging the correct version of automake." >&2

Return to bug 154361