Permalink
Browse files

Evalualting iso volume before checking their lenght, thanks to Robert…

…o C. Morano <rcmorano@emergya.es>.
  • Loading branch information...
1 parent 4156d9f commit 61754ba38fdc39d9393a6ee081e6a661830d3624 Daniel Baumann committed Feb 20, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 functions/defaults.sh
View
@@ -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

0 comments on commit 61754ba

Please sign in to comment.