This is an automated email from the git hooks/post-receive script.

osamu pushed a commit to branch multitar
in repository devscripts.

commit 72389134629473cee5fa1b740dab11aea8b3d2de
Author: Osamu Aoki <[email protected]>
Date:   Sun Oct 4 12:48:52 2015 +0900

    uscan: check if match found
---
 scripts/uscan.pl | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/scripts/uscan.pl b/scripts/uscan.pl
index 4736177..277bd86 100755
--- a/scripts/uscan.pl
+++ b/scripts/uscan.pl
@@ -3446,9 +3446,9 @@ sub newest_dir ($$$$$) {
     if (defined $download_version) {
        print STDERR "$progname debug: download version requested: 
$download_version\n" if $debug;
        if ($download_version =~ 
m/^([-~\+\w]+)(\.[-~\+\w]+)?(\.[-~\+\w]+)?(\.[-~\+\w]+)?$/) {
-           $download_version_short1 = "$1";
-           $download_version_short2 = "$1$2";
-           $download_version_short3 = "$1$2$3";
+           $download_version_short1 = "$1" if defined $1;
+           $download_version_short2 = "$1$2" if defined $2;
+           $download_version_short3 = "$1$2$3" if defined $3;
        }
     }
     if ($site =~ m%^http(s)?://%) {

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/collab-maint/devscripts.git

_______________________________________________
devscripts-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel

Reply via email to