diff options
author | Daniel Baumann <daniel@debian.org> | 2009-02-20 15:40:47 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:09:42 +0100 |
commit | 0e2d53d5d994cdda957dff4acf6cb14222b63f2f (patch) | |
tree | 75c2a24653ebcee0c100c28e5e6dec14cc7aa1e8 | |
parent | e7da04b0f9ae1b44e3d615899139ff7391adfa31 (diff) | |
download | vyos-live-build-0e2d53d5d994cdda957dff4acf6cb14222b63f2f.tar.gz vyos-live-build-0e2d53d5d994cdda957dff4acf6cb14222b63f2f.zip |
Evalualting iso volume before checking their lenght, thanks to Roberto C. Morano <rcmorano@emergya.es>.
-rwxr-xr-x | functions/defaults.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh index 3db6155c6..598b7c735 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -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 |