summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-02-20 15:07:09 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:42 +0100
commite7da04b0f9ae1b44e3d615899139ff7391adfa31 (patch)
tree3b91e8ae50007098e207ea39a00702ad70521239 /functions
parentb7dd97408319ce1d389c8f22cb94feba228565e3 (diff)
downloadlive-build-e7da04b0f9ae1b44e3d615899139ff7391adfa31.zip
live-build-e7da04b0f9ae1b44e3d615899139ff7391adfa31.tar.gz
Emitting a warning rather than an error when iso strings are too long.
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 3b7b02d..3db6155 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -852,21 +852,21 @@ Check_defaults ()
if [ "$(echo ${LH_ISO_APPLICATION} | wc -c)" -ge 129 ]
then
- Echo_error "You have specified a too long string for iso application, the maximum lenght is 128 characters."
+ Echo_warning "You have specified a too long string for iso application, the maximum lenght is 128 characters."
fi
if [ "$(echo ${LH_ISO_PREPARER} | wc -c)" -ge 129 ]
then
- Echo_error "You have specified a too long string for iso preparer, the maximum lenght is 128 characters."
+ Echo_warning "You have specified a too long string for iso preparer, the maximum lenght is 128 characters."
fi
if [ "$(echo ${LH_ISO_PUBLISHER} | wc -c)" -ge 129 ]
then
- Echo_error "You have specified a too long string for iso publisher, the maximum lenght is 128 characters."
+ Echo_warning "You have specified a too long string for iso publisher, the maximum lenght is 128 characters."
fi
if [ "$(echo ${LH_ISO_VOLUME} | wc -c)" -ge 33 ]
then
- Echo_error "You have specified a too long string for iso volume, the maximum lenght is 32 characters."
+ Echo_warning "You have specified a too long string for iso volume, the maximum lenght is 32 characters."
fi
}