]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_python
r1760: releasing version 4.2.37
[debhelper.git] / dh_python
index a2dde7b92036bab3981e9359b83e93eaf1df9a8c..3bd2ac7aff427fed19a25257b99076c98fdac591 100755 (executable)
--- a/dh_python
+++ b/dh_python
@@ -96,6 +96,7 @@ foreach (@python_allversions) {
 # Check for -V
 my $usepython = "python$python_version";
 if($dh{V_FLAG_SET}) {
+       $python_version = $dh{V_FLAG};
        $usepython = $dh{V_FLAG};
        $usepython =~ s/^/python/;
        if (! grep { $_ eq $usepython } @python_allversions) {