[SCM] live-helper branch, master, updated. 1.0.5-2-51-g764783d

Daniel Baumann daniel at debian.org
Sun Nov 1 10:47:20 UTC 2009


The following commit has been merged in the master branch:
commit 811eb59f5b063f30b00398df4b91b8fd4a03fe0c
Author: Karl Goetz <karl at kgoetz.id.au>
Date:   Sun Nov 1 11:42:25 2009 +0100

    Replacing all -ge with -gt checks for string max lenghts of iso meta information.

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

-- 
live-helper



More information about the debian-live-changes mailing list