Evalualting iso volume before checking their lenght, thanks to Roberto C. Morano <rcmorano@emergya.es>.

This commit is contained in:
Daniel Baumann 2009-02-20 15:40:47 +01:00
parent e7da04b0f9
commit 0e2d53d5d9
1 changed files with 1 additions and 1 deletions

View File

@ -865,7 +865,7 @@ Check_defaults ()
Echo_warning "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 fi
if [ "$(echo ${LH_ISO_VOLUME} | wc -c)" -ge 33 ] if [ "$(eval "echo ${LH_ISO_VOLUME}" | wc -c)" -ge 33 ]
then then
Echo_warning "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 fi