diff options
author | Karl Goetz <karl@kgoetz.id.au> | 2009-11-01 11:42:25 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:09:48 +0100 |
commit | 0e1256d02c316c4714effee6f6bc7c498491379f (patch) | |
tree | 35b6a37c4ba385cf680e482d6f4fd5412d13d137 /functions | |
parent | 23fc01e1b86217ff837fe48fa9dbeed1b0728ff5 (diff) | |
download | vyos-live-build-0e1256d02c316c4714effee6f6bc7c498491379f.tar.gz vyos-live-build-0e1256d02c316c4714effee6f6bc7c498491379f.zip |
Replacing all -ge with -gt checks for string max lenghts of iso meta information.
Diffstat (limited to 'functions')
-rwxr-xr-x | functions/defaults.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh index a49e2516e..ec85904b0 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -1099,22 +1099,22 @@ Check_defaults () esac fi - if [ "$(echo ${LH_ISO_APPLICATION} | wc -c)" -ge 129 ] + if [ "$(echo ${LH_ISO_APPLICATION} | wc -c)" -gt 128 ] then Echo_warning "You have specified a value of LH_ISO_APPLICATION that is too long; the maximum length is 128 characters." fi - if [ "$(echo ${LH_ISO_PREPARER} | wc -c)" -ge 129 ] + if [ "$(echo ${LH_ISO_PREPARER} | wc -c)" -gt 128 ] then Echo_warning "You have specified a value of LH_ISO_PREPARER that is too long; the maximum length is 128 characters." fi - if [ "$(echo ${LH_ISO_PUBLISHER} | wc -c)" -ge 129 ] + if [ "$(echo ${LH_ISO_PUBLISHER} | wc -c)" -gt 128 ] then Echo_warning "You have specified a value of LH_ISO_PUBLISHER that is too long; the maximum length is 128 characters." fi - if [ "$(eval "echo ${LH_ISO_VOLUME}" | wc -c)" -ge 33 ] + if [ "$(eval "echo ${LH_ISO_VOLUME}" | wc -c)" -gt 32 ] then Echo_warning "You have specified a value of LH_ISO_VOLUME that is too long; the maximum length is 32 characters." fi |