summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorKarl Goetz <karl@kgoetz.id.au>2009-11-01 11:42:25 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:48 +0100
commit0e1256d02c316c4714effee6f6bc7c498491379f (patch)
tree35b6a37c4ba385cf680e482d6f4fd5412d13d137 /functions
parent23fc01e1b86217ff837fe48fa9dbeed1b0728ff5 (diff)
downloadlive-build-0e1256d02c316c4714effee6f6bc7c498491379f.zip
live-build-0e1256d02c316c4714effee6f6bc7c498491379f.tar.gz
Replacing all -ge with -gt checks for string max lenghts of iso meta information.
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index a49e251..ec85904 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