From 0e1256d02c316c4714effee6f6bc7c498491379f Mon Sep 17 00:00:00 2001
From: Karl Goetz <karl@kgoetz.id.au>
Date: Sun, 1 Nov 2009 11:42:25 +0100
Subject: Replacing all -ge with -gt checks for string max lenghts of iso meta
 information.

---
 functions/defaults.sh | 8 ++++----
 1 file 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
-- 
cgit v1.0