From 0e02391d91eaff9f4e6432baadb6996b39b68b91 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 9 Nov 2016 21:35:58 +0000 Subject: Introduce dep14_version_quote Removes three identical copies of this y/// rune. No functional change. Signed-off-by: Ian Jackson --- dgit | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'dgit') diff --git a/dgit b/dgit index 983f97c..f1d59f6 100755 --- a/dgit +++ b/dgit @@ -171,8 +171,7 @@ sub debiantag ($$) { sub debiantag_maintview ($$) { my ($v,$distro) = @_; - $v =~ y/~:/_%/; - return "$distro/$v"; + return "$distro/".dep14_version_mangle $v; } sub madformat ($) { $_[0] eq '3.0 (quilt)' } -- cgit v1.2.3