r11446 - /scripts/qa/packagecheck
gregoa-guest at users.alioth.debian.org
gregoa-guest at users.alioth.debian.org
Thu Dec 20 23:31:33 UTC 2007
Author: gregoa-guest
Date: Thu Dec 20 23:31:33 2007
New Revision: 11446
URL: http://svn.debian.org/wsvn/?sc=1&rev=11446
Log:
relax regex on replacing URL in watch file
Modified:
scripts/qa/packagecheck
Modified: scripts/qa/packagecheck
URL: http://svn.debian.org/wsvn/scripts/qa/packagecheck?rev=11446&op=diff
==============================================================================
--- scripts/qa/packagecheck (original)
+++ scripts/qa/packagecheck Thu Dec 20 23:31:33 2007
@@ -113,7 +113,7 @@
# 6) watchfile
if [ -e $TRUNK/$p/debian/watch ] && ! grep search\.cpan\.org/dist/ $TRUNK/$p/debian/watch >/dev/null; then
echo "$p: changing URL in debian/watch"
- perl -pi -e "s;^(?:ht|f)tp://.+cpan.+/(.+)-(.+)$;http://search.cpan.org/dist/\$1/ .*/\$1-\$2;" $TRUNK/$p/debian/watch
+ perl -pi -e "s;^(?:ht|f)tp://.*cpan.+/(.+)-(.+)$;http://search.cpan.org/dist/\$1/ .*/\$1-\$2;" $TRUNK/$p/debian/watch
MSG_WATCH="debian/watch: use dist-based URL."
CHANGED=1
fi
More information about the Pkg-perl-cvs-commits
mailing list