Evalualting iso volume before checking their lenght, thanks to Roberto C. Morano <rcmorano@emergya.es>.
This commit is contained in:
parent
e7da04b0f9
commit
0e2d53d5d9
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue