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.
|
||||
# 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 ]
|
||||
do ((++_break))
|
||||
[ $_break -gt $_wait ] && break || sleep 1
|
||||
do
|
||||
((++_break))
|
||||
[ $_break -gt $_wait ] && break || sleep 1
|
||||
done
|
||||
|
||||
|
||||
if [ ${_break} -lt ${_wait} ] ; then
|
||||
|
||||
mv fusato/*.iso fusato/${FileName}.iso
|
||||
|
|
Loading…
Reference in New Issue