summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-12-17 13:35:38 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2013-05-06 14:50:02 +0200
commitfee5cd9ce9197c5bc326c1c51a636fabef602692 (patch)
tree030504c2405c17485b9480e08dbed491b76a329e
parent0eb6a7bdaedbdbcf66fb9d12c24b65b4854df415 (diff)
downloadvyos-live-build-fee5cd9ce9197c5bc326c1c51a636fabef602692.tar.gz
vyos-live-build-fee5cd9ce9197c5bc326c1c51a636fabef602692.zip
Correcting config tree version check for older versions.
-rwxr-xr-xfunctions/defaults.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 120083359..c351068aa 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -1175,7 +1175,7 @@ Check_defaults ()
Echo_error "Aborting build, please get a new version of live-build."
exit 1
- elif [ ${CURRENT_CONFIG_VERSION} -eq 3 ]
+ elif [ ${CURRENT_CONFIG_VERSION} -le 3 ]
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."