--- /usr/share/live/build/functions/defaults.sh_orig 2015-10-14 21:46:16.000000000 +0200 +++ /usr/share/live/build/functions/defaults.sh 2016-03-16 15:20:00.667122221 +0100 @@ -1321,22 +1321,22 @@ ;; esac - if [ "$(echo \"${LB_ISO_APPLICATION}\" | wc -c)" -gt 128 ] + if [ "${#LB_ISO_APPLICATION}" -gt 128 ] then Echo_warning "You have specified a value of LB_ISO_APPLICATION that is too long; the maximum length is 128 characters." fi - if [ "$(echo \"${LB_ISO_PREPARER}\" | wc -c)" -gt 128 ] + if [ "${#LB_ISO_PREPARER}" -gt 128 ] then Echo_warning "You have specified a value of LB_ISO_PREPARER that is too long; the maximum length is 128 characters." fi - if [ "$(echo \"${LB_ISO_PUBLISHER}\" | wc -c)" -gt 128 ] + if [ "${#LB_ISO_PUBLISHER}" -gt 128 ] then Echo_warning "You have specified a value of LB_ISO_PUBLISHER that is too long; the maximum length is 128 characters." fi - if [ "$(eval "echo \"${LB_ISO_VOLUME}\"" | wc -c)" -gt 32 ] + if [ "${#LB_ISO_VOLUME}" -gt 32 ] then Echo_warning "You have specified a value of LB_ISO_VOLUME that is too long; the maximum length is 32 characters." fi