Commit 912d11ba authored by Vitaly Lipatov's avatar Vitaly Lipatov

fix version detecting

parent cd3c9584
......@@ -5,14 +5,6 @@
# $1 - needed VERSION of etersoft-build-utils. f.i. 162
# check for needed version
if [ -n "$1" ] ; then
if [ "$1" -lt $ETERBUILDVERSION ] ; then
echo "Obsoleted version of etersoft-build-utils version is used. Please upgrade it to $1 version."
exit 1
fi
fi
set_eterbuilddir()
{
[ -z "$ETERBUILDDIR" ] || return 0
......@@ -97,6 +89,14 @@ load_mod()
load_mod config gettext alt spec
# check for needed version
if [ -n "$1" ] ; then
if [ "$1" -lt "$ETERBUILDVERSION" ] ; then
echo "Obsoleted version of etersoft-build-utils version is used. Please upgrade it to $1 version."
exit 1
fi
fi
# Internal
# , : -M23 -M24 ,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment