[devscripts] 01/02: uscan: Fix for ==

Osamu Aoki osamu at moszumanska.debian.org
Sat Feb 13 15:58:47 UTC 2016


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

osamu pushed a commit to branch master
in repository devscripts.

commit eebb133b16ac09614a6accc3d53445eed1da4a3f
Author: Osamu Aoki <osamu at debian.org>
Date:   Sat Feb 13 23:10:42 2016 +0900

    uscan: Fix for ==
    
    Oops.  Perl is not Python
---
 scripts/uscan.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/uscan.pl b/scripts/uscan.pl
index 8b660f8..c66aec1 100755
--- a/scripts/uscan.pl
+++ b/scripts/uscan.pl
@@ -4406,7 +4406,7 @@ sub safe_replace($$) {
 	    return 0;
 	}
     } elsif ($pat !~ /^(?:s|tr|y)$esc((?:\\.|[^\\$esc])*)$esc((?:\\.|[^\\$esc])*)$esc([a-z]*)$/) {
-	$sep = "/" if $sep == '';
+	$sep = "/" if $sep eq '';
 	uscan_warn "stop mangling: rule=\"$pat\" on \"$in\"\n" .
 		   "   rule doesn't match \"(s|tr|y)$sep.*$sep.*$sep.*\" or similar.\n";
 	return 0;

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



More information about the devscripts-devel mailing list