From 65ae2d09c1fd9e0427579bea59e90d1b4873dd4e Mon Sep 17 00:00:00 2001 From: Lucas Silvestre Date: Mon, 10 Sep 2018 22:05:54 +0200 Subject: [PATCH] Fix Download.progress file name Using single quote creates a file named '.${name}.progress' rather than 'Download.progress' --- home.admin/50downloadHDD.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home.admin/50downloadHDD.sh b/home.admin/50downloadHDD.sh index 4d5e2a7..388ae8b 100755 --- a/home.admin/50downloadHDD.sh +++ b/home.admin/50downloadHDD.sh @@ -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