Correcting test for no config tree version number to match all other cases, not just lower-than-1.

This commit is contained in:
Daniel Baumann 2012-12-04 11:31:01 +01:00
parent 4be0cce940
commit 37c9a7e0f0
1 changed files with 1 additions and 2 deletions

View File

@ -1232,8 +1232,7 @@ Check_defaults ()
Echo_error "This config tree is too old for this version of live-build (${VERSION})."
Echo_error "Aborting build, please regenerate the config tree."
exit 1
elif [ ${CURRENT_CONFIG_VERSION} -lt 1 ]
then
else
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."
fi