r5915 - /scripts/qa/versioncheck-html
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Thu Jul 19 20:55:48 UTC 2007
Author: dmn
Date: Thu Jul 19 20:55:48 2007
New Revision: 5915
URL: http://svn.debian.org/wsvn/?sc=1&rev=5915
Log:
Reset UPNEW before checking various sources of it
Modified:
scripts/qa/versioncheck-html
Modified: scripts/qa/versioncheck-html
URL: http://svn.debian.org/wsvn/scripts/qa/versioncheck-html?rev=5915&op=diff
==============================================================================
--- scripts/qa/versioncheck-html (original)
+++ scripts/qa/versioncheck-html Thu Jul 19 20:55:48 2007
@@ -83,6 +83,7 @@
| sed -e "s!^ftp://mirrors.kernel.org/cpan/!$CPAN/!" \
> $DIR/watch
UPCUR=$(echo $RE | perl -pe 's/^(?:\d:)?(.+?)(?:-[^-]+)?$/\1/')
+ UPNEW=""
if [ -s $DIR/watch ]; then
if egrep -qi '^(ftp|http).+cpan' $DIR/watch; then
VER_REGEX=$(egrep '^http|^ftp' $DIR/watch | perl -pe 's{.+/\s*}{}; s/\s.*$//')
More information about the Pkg-perl-cvs-commits
mailing list