[Module-build-checkins] Module-Build/lib/Module/Build Base.pm,1.381,1.382
Status: Beta
Brought to you by:
kwilliams
From: Ken W. <kwi...@us...> - 2005-02-06 13:30:18
|
Update of /cvsroot/module-build/Module-Build/lib/Module/Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16829/lib/Module/Build Modified Files: Base.pm Log Message: Integrate from base Index: Base.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/Base.pm,v retrieving revision 1.381 retrieving revision 1.382 diff -u -d -r1.381 -r1.382 --- Base.pm 25 Jan 2005 06:59:50 -0000 1.381 +++ Base.pm 6 Feb 2005 13:30:08 -0000 1.382 @@ -1095,6 +1095,10 @@ use $build_package; +# Some platforms have problems setting \$^X in shebang contexts, fix it up here +\$^X = Module::Build->find_perl_interpreter + unless File::Spec->file_name_is_absolute(\$^X); + if (-e 'Build.PL' and not $build_package->up_to_date("Build.PL", \$0)) { warn "Warning: Build.PL has been altered. You may need to run 'perl Build.PL' again.\\n"; } |