Bug 197478 - default storage directory inaccessable (/builddir/.cpanplus)
Summary: default storage directory inaccessable (/builddir/.cpanplus)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-CPANPLUS
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Steven Pritchard
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-07-02 20:15 UTC by Chris Weyl
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-02-19 17:52:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Chris Weyl 2006-07-02 20:15:11 UTC
Description of problem:
CPANPLUS has a default directory of '/buildroot/.cpanplus', which causes Bad
Things to happen when apps try to use CPANPLUS without expliticly overriding. 
(e.g. scandeps.pl from perl-Module-ScanDeps)

Would it be possible to tweak Config.pm to alter the default behavior to, say,
$ENV{HOME}/.cpanplus, to make it more in line with the way perl(CPAN) does it? 

File: /usr/lib/perl5/vendor_perl/5.8.8/CPANPLUS/Config.pm
Line: 74

Comment 1 Steven Pritchard 2006-07-03 22:39:09 UTC
Does changing the line

 'base' => '/builddir/.cpanplus',

to

 'base' => "$ENV{HOME}/.cpanplus",

seem to work properly?

Comment 2 Chris Weyl 2006-07-04 00:18:56 UTC
Yes.

Comment 3 Chris Weyl 2007-02-19 17:52:00 UTC
Long since fixed, so closing to get it off my frontpage :)


Note You need to log in before you can comment on or make changes to this bug.