[Module-build-checkins] Module-Build/lib/Module Build.pm,1.188,1.189
Status: Beta
Brought to you by:
kwilliams
From: Randy W. S. <si...@us...> - 2005-10-20 16:45:28
|
Update of /cvsroot/module-build/Module-Build/lib/Module In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20639/lib/Module Modified Files: Build.pm Log Message: Added support for environment variable, 'MODULEBUILDRC', which can be used to specify the full path to an option file to use instead of the default location of ~/.modulebuildrc. A special undocumented setting of 'NONE' tells Module::Build not to load any user settings, so tests can be run without tainting from user options. The primary motivation for this feature is to make it easy to construct tests without needing to pass in an option to disable reading the rcfile for every Module::Build object created. Index: Build.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build.pm,v retrieving revision 1.188 retrieving revision 1.189 diff -u -d -r1.188 -r1.189 --- Build.pm 20 Oct 2005 09:26:42 -0000 1.188 +++ Build.pm 20 Oct 2005 16:45:19 -0000 1.189 @@ -571,6 +571,10 @@ install install_base=/home/ken --install_path html=/home/ken/docs/html +If you wish to locate your resource file in a different location, you +can set the environment variable 'MODULEBUILDRC' to the complete +absolute path of the file containing your options. + =head2 How Installation Paths are Determined |