diff options
-rwxr-xr-x | scripts/sstate-cache-management.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/sstate-cache-management.sh b/scripts/sstate-cache-management.sh index 2286765ebd..2ab450ab59 100755 --- a/scripts/sstate-cache-management.sh +++ b/scripts/sstate-cache-management.sh | |||
@@ -101,7 +101,7 @@ do_nothing () { | |||
101 | 101 | ||
102 | # Read the input "y" | 102 | # Read the input "y" |
103 | read_confirm () { | 103 | read_confirm () { |
104 | echo "$total_deleted from $total_files files will be removed! " | 104 | echo "$total_deleted out of $total_files files will be removed! " |
105 | if [ "$confirm" != "y" ]; then | 105 | if [ "$confirm" != "y" ]; then |
106 | echo "Do you want to continue (y/n)? " | 106 | echo "Do you want to continue (y/n)? " |
107 | while read confirm; do | 107 | while read confirm; do |
@@ -282,7 +282,7 @@ remove_duplicated () { | |||
282 | deleted_tgz=`cat $rm_list.* 2>/dev/null | grep ".tgz$" | wc -l` | 282 | deleted_tgz=`cat $rm_list.* 2>/dev/null | grep ".tgz$" | wc -l` |
283 | deleted_files=`cat $rm_list.* 2>/dev/null | wc -l` | 283 | deleted_files=`cat $rm_list.* 2>/dev/null | wc -l` |
284 | [ "$deleted_files" -gt 0 -a $debug -gt 0 ] && cat $rm_list.* | 284 | [ "$deleted_files" -gt 0 -a $debug -gt 0 ] && cat $rm_list.* |
285 | echo "($deleted_tgz from $total_tgz_suffix .tgz files for $suffix suffix will be removed or $deleted_files from $total_files_suffix when counting also .siginfo and .done files)" | 285 | echo "($deleted_tgz out of $total_tgz_suffix .tgz files for $suffix suffix will be removed or $deleted_files out of $total_files_suffix when counting also .siginfo and .done files)" |
286 | let total_deleted=$total_deleted+$deleted_files | 286 | let total_deleted=$total_deleted+$deleted_files |
287 | done | 287 | done |
288 | deleted_tgz=0 | 288 | deleted_tgz=0 |