build: stable version number detection fix

This commit is contained in:
Jan Engelhardt
2009-09-12 02:41:58 +02:00
parent b07434386b
commit b0a6111054

View File

@@ -79,11 +79,10 @@ krel="${krel#*.}";
kminor="${krel%%.*}"; kminor="${krel%%.*}";
krel="${krel#*.}"; krel="${krel#*.}";
kmicro="${krel%%.*}"; kmicro="${krel%%.*}";
krel2="${krel#*.}"; if test "$kmicro" = "$krel"; then
if test "$krel" = "$krel2"; then
kstable=0; kstable=0;
else else
kstable="${krel%%.*}"; kstable="${krel#*.}";
if test -z "$kstable"; then if test -z "$kstable"; then
kstable=0; kstable=0;
fi; fi;