mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-12-08 00:53:54 +01:00
build: stable version number detection fix
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user