sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master sorcery by Jaka Kranjc (5e8d97ba1b5c7154e8b4606a735a44a854c8cc4a)
- From: Jaka Kranjc <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (5e8d97ba1b5c7154e8b4606a735a44a854c8cc4a)
- Date: Fri, 1 Feb 2008 12:18:28 -0600
GIT changes to master sorcery by Jaka Kranjc <lynxlynxlynx AT sourcemage.org>:
ChangeLog | 1 +
usr/sbin/gaze | 6 +++---
2 files changed, 4 insertions(+), 3 deletions(-)
New commits:
commit 5e8d97ba1b5c7154e8b4606a735a44a854c8cc4a
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
gaze: gaze size could bark on files with glob paterns in their name #14183
diff --git a/ChangeLog b/ChangeLog
index cfa74e3..36f5a4a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
2008-02-01 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* libcodex: bail out of codex_check_cache if the grimoire dir is not
listable (executable) #13508
+ * gaze: gaze size could bark on files with glob paterns in their name
#14183
2008-01-31 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* libmisc: added error_message, a message() that also outputs to
stderr
diff --git a/usr/sbin/gaze b/usr/sbin/gaze
index 467f5f1..e1e3942 100755
--- a/usr/sbin/gaze
+++ b/usr/sbin/gaze
@@ -1616,9 +1616,9 @@ function gaze_show_size () {
message "No install log for $spell ($file)"
continue
fi
- for each in $(<$file); do
- test -f $each && echo $each
- done | xargs du -b |
+ while read each; do
+ test -f "$each" && echo $each
+ done < $file | xargs du -b |
awk '{ x += $1 }
END { print "'$spell' -> " x " bytes ("int(x/1024+0.5)" K,
"int(x/1024/1024+0.5)" M) in " NR " files." }'
done
- [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (5e8d97ba1b5c7154e8b4606a735a44a854c8cc4a), Jaka Kranjc, 02/01/2008
Archive powered by MHonArc 2.6.24.