[Qa-jenkins-scm] [jenkins.debian.net] 04/04: neater way to avoid finding one[s]elf with grep

Holger Levsen holger at moszumanska.debian.org
Sat Nov 14 13:23:58 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit b6e3571eb9972aa765b1e5793baae6b3cfa1683f
Author: Philip Hands <phil at hands.com>
Date:   Thu Nov 12 20:37:31 2015 +0100

    neater way to avoid finding one[s]elf with grep
---
 update_jdn.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/update_jdn.sh b/update_jdn.sh
index beea9b2..824dc70 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -453,7 +453,7 @@ fi
 # There's always some work left...
 #	echo FIXME is ignored so check-jobs scripts can output templates requiring manual work
 #
-rgrep FIXME $BASEDIR/* | grep -v "rgrep FIXME" | grep -v echo > $TMPFILE
+rgrep FI[X]ME $BASEDIR/* | grep -v echo > $TMPFILE
 if [ -s $TMPFILE ] ; then
 	echo
 	cat $TMPFILE

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list