We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91b21fe commit 591416cCopy full SHA for 591416c
share/github-backup-utils/track-progress
@@ -7,7 +7,7 @@ progress(){
7
8
PROGRESS=$(cat /tmp/backup-utils-progress)
9
PROGRESS_TYPE=$(cat /tmp/backup-utils-progress-type)
10
- PROGRESS_PERCENT=$( echo "scale = 2; ($PROGRESS / $PROGRESS_TOTAL) * 100" | bc)
+ PROGRESS_PERCENT=$( echo "scale = 2; ($PROGRESS / $PROGRESS_TOTAL) * 100")
11
echo $((PROGRESS +1)) > /tmp/backup-utils-progress
12
echo "${PROGRESS_TYPE} progress: $PROGRESS_PERCENT % ($PROGRESS / $PROGRESS_TOTAL ) $1 " > /tmp/backup-utils-progress-info
13
}
0 commit comments