diff options
author | joey <joey> | 2005-06-13 16:04:10 +0000 |
---|---|---|
committer | joey <joey> | 2005-06-13 16:04:10 +0000 |
commit | 46a21fd82209577d6ba69c79d243889ea4f3d332 (patch) | |
tree | 5fb08d46170b758512a98403b028a8c218ac9f27 /dh_python | |
parent | 90f4f5db1d9f9c5af67fa5e58f89211dc00c7fb2 (diff) | |
download | debhelper-46a21fd82209577d6ba69c79d243889ea4f3d332.tar.gz |
r1762: * Add another test-case for dh_link.
* dh_python: Minimal fix from Joss for -V to make it search the right
site-packages directories. Closes: #312661
*
Diffstat (limited to 'dh_python')
-rwxr-xr-x | dh_python | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -96,7 +96,6 @@ 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) { @@ -140,8 +139,8 @@ foreach my $package (@{$dh{DOPACKAGES}}) { } } if ($package !~ /^python[0-9].[0-9]-/) { - push @dirs, "usr/lib/python$python_version/site-packages" ; - push @dirs_so, "usr/lib/python$python_version/site-packages" ; + push @dirs, "usr/lib/$usepython/site-packages"; + push @dirs_so, "usr/lib/$usepython/site-packages"; $look_for_pythonXY = 0; } |