Date: Thu, 19 Mar 2015 16:14:28 +0000 (UTC) From: Bryan Drewery <bdrewery@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-svnadmin@freebsd.org Subject: svn commit: r280265 - svnadmin/hooks/scripts Message-ID: <201503191614.t2JGESeT028796@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bdrewery Date: Thu Mar 19 16:14:27 2015 New Revision: 280265 URL: https://svnweb.freebsd.org/changeset/base/280265 Log: Fix dfilter script to support PR lines with commas. PR: 190866 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:02 2015 (r280264) +++ svnadmin/hooks/scripts/notify_bz.sh Thu Mar 19 16:14:27 2015 (r280265) @@ -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?201503191614.t2JGESeT028796>