Correcting test for no config tree version number to match all other cases, not just lower-than-1.
This commit is contained in:
parent
4be0cce940
commit
37c9a7e0f0
|
@ -1232,8 +1232,7 @@ Check_defaults ()
|
||||||
Echo_error "This config tree is too old for this version of live-build (${VERSION})."
|
Echo_error "This config tree is too old for this version of live-build (${VERSION})."
|
||||||
Echo_error "Aborting build, please regenerate the config tree."
|
Echo_error "Aborting build, please regenerate the config tree."
|
||||||
exit 1
|
exit 1
|
||||||
elif [ ${CURRENT_CONFIG_VERSION} -lt 1 ]
|
else
|
||||||
then
|
|
||||||
Echo_warning "This config tree does not specify a format version or has an unknown version number."
|
Echo_warning "This config tree does not specify a format version or has an unknown version number."
|
||||||
Echo_warning "Continuing build, but it could lead to errors or different results. Please regenerate the config tree."
|
Echo_warning "Continuing build, but it could lead to errors or different results. Please regenerate the config tree."
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue