new commit

This commit is contained in:
Manuel 2023-05-15 10:08:48 +00:00
parent 4e003b54cc
commit 13634b8868
1 changed files with 8 additions and 2 deletions

View File

@ -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