Re: [Module::Build] .modulebuildrc documentation out of sync with code
Status: Beta
Brought to you by:
kwilliams
From: Randy W. S. <ml...@th...> - 2006-04-12 01:51:51
|
Ken Williams wrote: > > On Apr 6, 2006, at 1:21 PM, Randy W. Sims wrote: > >> David Golden wrote: >>> I posted this to RT, but I'll copy here as well: >>> Documentation for the location of .modulebuildrc says .modulebuildrc >>> should be placed in $ENV{HOME}, but the code actually searches the >>> following environment variables: APPDATA HOME USERPROFILE WINDIR >>> SYS$LOGIN. >>> This is particularly confusing because HOME isn't listed first, so a >>> .modulebuildrc file place in $ENV{HOME} just mysteriously fails to work >>> on Win32 where $ENV{APPDATA} exists. >> >> Instead of search for the first valid "HOME" directory, we should >> probably be looking for the first one that contains the file we need >> since all of the directories usually exist. > > Agreed. Does the attached patch resolve this issue? Randy. |