Skip to content

Commit

Permalink
Evalualting iso volume before checking their lenght, thanks to Robert…
Browse files Browse the repository at this point in the history
…o C. Morano <rcmorano@emergya.es>.
  • Loading branch information
daniel-baumann committed Feb 20, 2009
1 parent 4156d9f commit 61754ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/defaults.sh
Expand Up @@ -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
Expand Down

0 comments on commit 61754ba

Please sign in to comment.