Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (7f6ee88f4196cfacd0d35a27afe681d5d98ff33a)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • 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 (7f6ee88f4196cfacd0d35a27afe681d5d98ff33a)
  • Date: Sun, 12 Aug 2007 11:27:03 -0500

GIT changes to master sorcery by Jaka Kranjc <lynxlynxlynx AT sourcemage.org>:

ChangeLog | 2 ++
usr/sbin/gaze | 8 +++++---
2 files changed, 7 insertions(+), 3 deletions(-)

New commits:
commit 7f6ee88f4196cfacd0d35a27afe681d5d98ff33a
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>

fixed "gaze from" matching state files #13941 and made it avoid passing
too many arguments to grep

diff --git a/ChangeLog b/ChangeLog
index 35f6eed..89e9702 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2007-08-12 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* gaze: fixed bad temporary dir usage #13588
+ fixed "gaze from" matching state files #13941 and made it avoid
passing
+ too many arguments to grep
* libsummon, scribe: added the missing prefixes to the guess lists
#13732
* liburl, scribe: don't ignore url_get_prefix exit status #13729
* scribe: fixed bad messages when adding a grimoire #13743
diff --git a/usr/sbin/gaze b/usr/sbin/gaze
index 968daa7..fbfaab3 100755
--- a/usr/sbin/gaze
+++ b/usr/sbin/gaze
@@ -579,14 +579,16 @@ function older() {
}

#-----
-## Find all install logs that mention the given string
+## Find all install logs that mention the given string,
+## discarding hits that match state files
## @param Search string
## @Stdout grep results
#-----
function show_from() {

- cd $INSTALL_LOGS
- grep "`esc_str $1`$" *
+ cd $INSTALL_LOGS
+ find . -printf "%f\n" | xargs grep "`esc_str $1`$" |
+ seperate_state_files /dev/stdin /dev/stdout /dev/null | sort

}




  • [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (7f6ee88f4196cfacd0d35a27afe681d5d98ff33a), Jaka Kranjc, 08/12/2007

Archive powered by MHonArc 2.6.24.

Top of Page