--- config.guess.orig	Tue Apr 16 02:15:59 2002
+++ config.guess	Fri Jun 28 17:19:43 2002
@@ -166,7 +166,7 @@
 		;;
 	esac
 	# The OS release
-	release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
+	release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*$//'`
 	# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
 	# contains redundant information, the shorter form:
 	# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
