From 0e2d53d5d994cdda957dff4acf6cb14222b63f2f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 20 Feb 2009 15:40:47 +0100 Subject: Evalualting iso volume before checking their lenght, thanks to Roberto C. Morano . --- functions/defaults.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/defaults.sh b/functions/defaults.sh index 3db6155..598b7c7 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -865,7 +865,7 @@ Check_defaults () 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 ] + if [ "$(eval "echo ${LH_ISO_VOLUME}" | wc -c)" -ge 33 ] then Echo_warning "You have specified a too long string for iso volume, the maximum lenght is 32 characters." fi -- cgit v1.0