summaryrefslogtreecommitdiffstats
path: root/scripts/sstate-cache-management.sh
diff options
context:
space:
mode:
authorJan Sarenik <jajomojo@gmail.com>2016-02-14 08:28:49 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-15 16:28:43 (GMT)
commit64d2f13d1a4633572c37895b4ba2db1e1c824c97 (patch)
treeacd2180c2d37f5fbf5b30e6b099e0c61e698a89c /scripts/sstate-cache-management.sh
parent6740dd55798641a47744b891aa1d8fa5e04c2cdc (diff)
downloadpoky-64d2f13d1a4633572c37895b4ba2db1e1c824c97.tar.gz
scripts/sstate-cache-management.sh: Change wording
Use "out of" rather than "from" in the output. (From OE-Core rev: c712529030c71b45bb8ae647c17319c2647aedff) Signed-off-by: Jan Sarenik <jajomojo@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/sstate-cache-management.sh')
-rwxr-xr-xscripts/sstate-cache-management.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/sstate-cache-management.sh b/scripts/sstate-cache-management.sh
index 2286765..2ab450a 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"
103read_confirm () { 103read_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