new commit
This commit is contained in:
parent
4e003b54cc
commit
13634b8868
|
@ -33,11 +33,17 @@ cd ${WorkingDir}
|
||||||
|
|
||||||
# Timing matters, don't destroy the old one without a replacement.
|
# Timing matters, don't destroy the old one without a replacement.
|
||||||
# Check for the ISO to appear and wait for things to settle.
|
# Check for the ISO to appear and wait for things to settle.
|
||||||
|
#until [ -e fusato/*.iso ]
|
||||||
|
# do ((++_break))
|
||||||
|
# [ $_break -gt $_wait ] && break || sleep 1
|
||||||
|
#done
|
||||||
until [ -e fusato/*.iso ]
|
until [ -e fusato/*.iso ]
|
||||||
do ((++_break))
|
do
|
||||||
|
((++_break))
|
||||||
[ $_break -gt $_wait ] && break || sleep 1
|
[ $_break -gt $_wait ] && break || sleep 1
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
if [ ${_break} -lt ${_wait} ] ; then
|
if [ ${_break} -lt ${_wait} ] ; then
|
||||||
|
|
||||||
mv fusato/*.iso fusato/${FileName}.iso
|
mv fusato/*.iso fusato/${FileName}.iso
|
||||||
|
|
Loading…
Reference in New Issue