Skip to Content.
Sympa Menu

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

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 (529d6b3954bcad912623c3f9650628be4bcaba2c)
  • Date: Mon, 15 Aug 2011 06:55:06 -0500

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

ChangeLog | 9 ++++++---
usr/sbin/gaze | 27 ++++++++++++++++++---------
2 files changed, 24 insertions(+), 12 deletions(-)

New commits:
commit 529d6b3954bcad912623c3f9650628be4bcaba2c
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>

gaze: gaze from support for -q #40
thanks flux

commit d1bf1516d3889e773f7b2b8008b824217d3ab062
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>

ups, wrong year

diff --git a/ChangeLog b/ChangeLog
index 3f3a74a..8ed000e 100755
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,11 +1,14 @@
-2010-07-31 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
+2011-08-15 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
+ * gaze: gaze from support for -q #40
+
+2011-07-31 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* libgrimoire: changed the real_mk_source_dir debug echo to show the
actual arguments, not an assumption

-2010-05-28 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
+2011-05-28 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* libsummon, {dl,url}_bzr: merged bzr support from Ismael Luceno
#14856

-2010-01-01 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
+2011-01-01 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* libsorcery: avoid passing bad parameters when PAGER has none
* subroutines: avoid sourcing leftovers from failed patching attempts

diff --git a/usr/sbin/gaze b/usr/sbin/gaze
index 0870cb2..90999de 100755
--- a/usr/sbin/gaze
+++ b/usr/sbin/gaze
@@ -686,16 +686,25 @@ function show_from() {

cd $INSTALL_LOGS

- find . -printf "%f\n" |
- # we use grep -e to protect against patterns starting with a dash
- if [[ $mode == -regex ]]; then
- xargs grep -e "$string"
- else
- # match the string literally, but only those at the end of the line
- xargs grep -F -e "$string" | grep -e "$string$"
- fi |
- seperate_state_files /dev/stdin /dev/stdout /dev/null | sort
+ local matches=$(
+ find . -printf "%f\n" |
+ # we use grep -e to protect against patterns starting with a dash
+ if [[ $mode == -regex ]]; then
+ xargs grep -e "$string"
+ else
+ # match the string literally, but only those at the end of the line
+ xargs grep -F -e "$string" | grep -e "$string$"
+ fi |
+ seperate_state_files /dev/stdin /dev/stdout /dev/null | sort
+ )

+ if [[ -n $matches ]]; then
+ if [[ $GAZE_VERBOSE != false ]]; then
+ echo "$matches"
+ fi
+ return 1
+ fi
+ return 0
}

#-----



  • [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (529d6b3954bcad912623c3f9650628be4bcaba2c), Jaka Kranjc, 08/15/2011

Archive powered by MHonArc 2.6.24.

Top of Page