Skip to content

Commit 460499e

Browse files
committed
adding more info for tracking
1 parent 713a5ab commit 460499e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

share/github-backup-utils/track-progress

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ progress(){
66
PROGRESS=$(cat /tmp/track-progress)
77
PROGRESS_TYPE=$(cat /tmp/track-progress-type)
88
PROGRESS_PERCENT=$( echo "scale = 2; ($PROGRESS / $PROGRESS_TOTAL) * 100" | bc)
9-
echo "${PROGRESS_TYPE} progress: $PROGRESS_PERCENT % ($PROGRESS / $PROGRESS_TOTAL ) $1 " > /tmp/progress-info
9+
echo "${PROGRESS_TYPE} progress: $PROGRESS_PERCENT % ($PROGRESS / $PROGRESS_TOTAL ) $1 " >> /tmp/progress-info
1010
echo $((PROGRESS +1)) > /tmp/track-progress
1111
}

0 commit comments

Comments
 (0)