r13923 - /scripts/qa/packagecheck

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Fri Feb 1 00:29:01 UTC 2008


Author: gregoa-guest
Date: Fri Feb  1 00:29:01 2008
New Revision: 13923

URL: http://svn.debian.org/wsvn/?sc=1&rev=13923
Log:
Uploaders can end with a comma if it's multiline, let's try some regexp foo

Modified:
    scripts/qa/packagecheck

Modified: scripts/qa/packagecheck
URL: http://svn.debian.org/wsvn/scripts/qa/packagecheck?rev=13923&op=diff
==============================================================================
--- scripts/qa/packagecheck (original)
+++ scripts/qa/packagecheck Fri Feb  1 00:29:01 2008
@@ -142,7 +142,7 @@
 		# TODO: remove DPG from Uploaders if we've added it to Maintainer
 		if ! echo $OLDMAINT | grep pkg-perl-maintainers ; then
 			if grep Uploaders $DIR/debian/control > /dev/null; then
-				perl -pi -e "BEGIN { our \$m=shift @ARGV }; s;(Uploaders:.+);\$1, \$m;" "$OLDMAINT" $DIR/debian/control
+				perl -pi -e "BEGIN { our \$m=shift @ARGV }; s;(Uploaders:.+>)(.*);\$1, \$m\$2;" "$OLDMAINT" $DIR/debian/control
 			else
 				perl -pi -e "BEGIN { our \$m=shift @ARGV }; s;(Maintainer:.+);\$1\nUploaders: \$m;" "${OLDMAINT}" $DIR/debian/control
 			fi




More information about the Pkg-perl-cvs-commits mailing list