mirror of
https://github.com/osmarks/ngircd.git
synced 2025-08-30 01:07:58 +00:00
Fixed the detection of tools named like "tool-Major.Minor" (used on OpenBSD).
This commit is contained in:
@@ -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.12 2004/04/05 12:02:21 alex Exp $
|
# $Id: autogen.sh,v 1.13 2005/02/21 09:48:50 alex Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -85,7 +85,7 @@ Search()
|
|||||||
fi
|
fi
|
||||||
$EXIST "${name}-${major}.${minor}" >/dev/null 2>&1
|
$EXIST "${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}"
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
Reference in New Issue
Block a user