Added missing "return 0" ... oops.

This commit is contained in:
Alexander Barton 2004-03-15 18:59:12 +00:00
parent 507a9e9cb3
commit af77ce70b6
1 changed files with 2 additions and 1 deletions

View File

@ -9,7 +9,7 @@
# (at your option) any later version. # (at your option) any later version.
# Please read the file COPYING, README and AUTHORS for more information. # Please read the file COPYING, README and AUTHORS for more information.
# #
# $Id: autogen.sh,v 1.8 2004/03/11 22:21:20 alex Exp $ # $Id: autogen.sh,v 1.9 2004/03/15 18:59:12 alex Exp $
# #
Search() Search()
@ -35,6 +35,7 @@ Search()
type "${name}-${major}.${minor}" >/dev/null 2>&1 type "${name}-${major}.${minor}" >/dev/null 2>&1
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
echo "${name}-${major}.${minor}" >/dev/null 2>&1 echo "${name}-${major}.${minor}" >/dev/null 2>&1
return 0
fi fi
minor=`expr $minor - 1` minor=`expr $minor - 1`
done done