Handle the case of unresolveable ambiguity in --list now too.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ron Lee 2004-09-27 08:08:02 +00:00
parent 6be23c2a23
commit 1320281c89

View File

@ -582,7 +582,7 @@ if [ -n "$output_option_list" ]; then
echo " Specification best match: $_best_delegate" echo " Specification best match: $_best_delegate"
elif [ -n "_delegates" ]; then elif [ -z "$_delegates" ]; then
cat <<-EOF cat <<-EOF
No config found to match: $config_spec No config found to match: $config_spec
@ -593,11 +593,13 @@ if [ -n "$output_option_list" ]; then
you may call its wx-config directly by specifying its full path. you may call its wx-config directly by specifying its full path.
EOF EOF
exit 1
else
echo " Specification was ambiguous. Use additional feature options"
echo " to choose between alternate matches."
fi fi
_delegates=$(remove_field $_best_delegate $_delegates) [ -z "$_best_delegate" ] || _delegates=$(remove_field $_best_delegate $_delegates)
if [ -n "$_delegates" ]; then if [ -n "$_delegates" ]; then
echo echo