summaryrefslogtreecommitdiff
path: root/perlapi.h
diff options
context:
space:
mode:
authorJos Boumans <kane@cpan.org>2010-04-06 22:19:08 +0100
committerChris Williams <chris@bingosnet.co.uk>2010-04-06 22:19:08 +0100
commit8c57606294f48eb065dff03f7ffefc1e4e2cdce4 (patch)
tree0c6cb5259f4d8cbbac11e772177cb3ed10657d10 /perlapi.h
parentc2c3358345e7fa3b89ecbd334f68d57057182d27 (diff)
downloadperl-8c57606294f48eb065dff03f7ffefc1e4e2cdce4.tar.gz
Explicitly set the location of cpanp-run-perl when under PERL_COREv5.12.0-RC4
CPANPLUS::Config checks 3 specific scenarios first when looking for cpanp-run-perl: parallel to cpanp, parallel to CPANPLUS.pm, or installed into a custom prefix like /tmp/foo. Only *THEN* does it check the the path. If the perl core is extracted to a directory that has cpanp-run-perl installed the same amount of 'uplevels' as the /tmp/foo prefix, we'll pull in the wrong script by accident. Since we set the path to cpanp-run-perl explicitily at the top of this script, it's best to update the config ourselves with a path lookup, rather than rely on its heuristics. Thanks to David Wheeler, Josh Jore and Vincent Pit for helping to track this down. Effects both CPANPLUS and CPANPLUS-Dist-Build
Diffstat (limited to 'perlapi.h')
0 files changed, 0 insertions, 0 deletions