Date: Thu, 19 Mar 2015 16:13:46 +0000 (UTC) From: Bryan Drewery <bdrewery@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-svnadmin@freebsd.org Subject: svn commit: r381608 - svnadmin/hooks/scripts Message-ID: <201503191613.t2JGDkGY028635@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bdrewery Date: Thu Mar 19 16:13:45 2015 New Revision: 381608 URL: https://svnweb.freebsd.org/changeset/ports/381608 QAT: https://qat.redports.org/buildarchive/r381608/ Log: Fix dfilter script to support PR lines with commas. PR: 190866 Approved by: portmgr (implicit) Modified: svnadmin/hooks/scripts/notify_bz.sh Modified: svnadmin/hooks/scripts/notify_bz.sh ============================================================================== --- svnadmin/hooks/scripts/notify_bz.sh Thu Mar 19 15:55:15 2015 (r381607) +++ svnadmin/hooks/scripts/notify_bz.sh Thu Mar 19 16:13:45 2015 (r381608) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503191613.t2JGDkGY028635>