svn commit: r46357 - svnadmin/hooks/scripts

Bryan Drewery <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
Author: bdrewery (src,ports committer)
Date: Thu Mar 19 16:15:30 2015
New Revision: 46357
URL: https://svnweb.freebsd.org/changeset/doc/46357

Log:
  Fix dfilter script to support PR lines with commas.
  
  PR:		190866
  Approved by:	doceng (implicit from previous updates)

Modified:
  svnadmin/hooks/scripts/notify_bz.sh

Modified: svnadmin/hooks/scripts/notify_bz.sh
==============================================================================
--- svnadmin/hooks/scripts/notify_bz.sh	Thu Mar 19 11:52:33 2015	(r46356)
+++ svnadmin/hooks/scripts/notify_bz.sh	Thu Mar 19 16:15:30 2015	(r46357)
@@ -14,7 +14,7 @@ if [ -z "$REV" -o -z "$REPO" -o ! -d "$R
   exit 1
 fi
 
-PRS="$(svnlook info "$REPO" -r "$REV" | grep -e '^[[:space:]]*[pP][rR]:[[:space:]]*'|grep -Eo '([a-zA-Z]+\/)*[^[]([0-9]+)[^]]'|sed -Ee 's,[[:space:]],,g' -e 's,[a-zA-Z]+\/,,g')"
+PRS="$(svnlook info "$REPO" -r "$REV" | grep -e '^[[:space:]]*[pP][rR]:[[:space:]]*'|grep -Eo '([a-zA-Z]+\/)*[^[]([0-9]+)[^],]'|sed -Ee 's,[[:space:]],,g' -e 's,[a-zA-Z]+\/,,g')"
 
 if [ -z "$PRS" ]; then
   exit 0
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.