[SCM] Debian Live build scripts branch, master, updated. 1.0.3-2-18-gf3cd6a8
Daniel Baumann
daniel at debian.org
Fri Feb 20 14:43:40 UTC 2009
The following commit has been merged in the master branch:
commit f3cd6a800f5c8e4144d276d8b228ed09257d10ab
Author: Daniel Baumann <daniel at debian.org>
Date: Fri Feb 20 15:40:47 2009 +0100
Evalualting iso strings before checking their lenght, thanks to Roberto C. Morano <rcmorano at emergya.es>.
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 3db6155..270d55a 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -850,22 +850,22 @@ Check_defaults ()
esac
fi
- if [ "$(echo ${LH_ISO_APPLICATION} | wc -c)" -ge 129 ]
+ if [ "$(eval "echo ${LH_ISO_APPLICATION}" | wc -c)" -ge 129 ]
then
Echo_warning "You have specified a too long string for iso application, the maximum lenght is 128 characters."
fi
- if [ "$(echo ${LH_ISO_PREPARER} | wc -c)" -ge 129 ]
+ if [ "$(eval "echo ${LH_ISO_PREPARER}" | wc -c)" -ge 129 ]
then
Echo_warning "You have specified a too long string for iso preparer, the maximum lenght is 128 characters."
fi
- if [ "$(echo ${LH_ISO_PUBLISHER} | wc -c)" -ge 129 ]
+ if [ "$(eval "echo ${LH_ISO_PUBLISHER}" | wc -c)" -ge 129 ]
then
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
--
Debian Live build scripts
More information about the debian-live-changes
mailing list