virtualbox: fix unbounded variable

This commit is contained in:
bigeagle 2016-06-19 20:16:26 +08:00
parent 437e8b7b15
commit e141809b67

View File

@ -84,7 +84,7 @@ while read line; do
if [ -f ${dest_filename} ]; then if [ -f ${dest_filename} ]; then
echo "${pkg_checksum} ${dest_filename}" | md5sum -c - && { echo "${pkg_checksum} ${dest_filename}" | md5sum -c - && {
downloaded=true downloaded=true
echo "Skipping ${pkg_filename}" echo "Skipping ${filename}"
} }
fi fi
while [ $downloaded != true ]; do while [ $downloaded != true ]; do