summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-12-17 13:36:27 +0100
committerDaniel Baumann <daniel@debian.org>2012-12-17 13:36:27 +0100
commit8d69592122eb33f6f155e7a82b0f7ea8dbb0ffb6 (patch)
treef01b30ca9253d8b2b9eb1b616bba07d9e0f229fc /functions
parenta46350d7b3a0e31d720cc3c3ac1345e012ceab2d (diff)
downloadvyos-live-build-8d69592122eb33f6f155e7a82b0f7ea8dbb0ffb6.tar.gz
vyos-live-build-8d69592122eb33f6f155e7a82b0f7ea8dbb0ffb6.zip
Correcting config tree version check for older versions.
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 12b719fd2..b8a3fc092 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -1220,7 +1220,7 @@ Check_defaults ()
Echo_error "Aborting build, please get a new version of live-build."
exit 1
- elif [ ${CURRENT_CONFIG_VERSION} -eq 2 ]
+ elif [ ${CURRENT_CONFIG_VERSION} -le 2 ]
then
Echo_error "This config tree is too old for this version of live-build (${VERSION})."
Echo_error "Aborting build, please regenerate the config tree."