Fix Download.progress file name

Using single quote creates a file named '.${name}.progress' rather than 'Download.progress'
This commit is contained in:
Lucas Silvestre 2018-09-10 22:05:54 +02:00
parent f0a4903d02
commit 65ae2d09c1

View File

@ -72,7 +72,7 @@ while :
freshSize=0
fi
progress=$(echo "scale=2; $freshSize*100/$targetSize" | bc)
echo $progress > '.${name}.progress'
echo $progress > ".${name}.progress"
# detect if since last loop any progress occured
if [ ${actualSize} -eq ${freshSize} ]; then