[Module-build-checkins] Module-Build/lib/Module/Build Base.pm,1.340.2.32,1.340.2.33
Status: Beta
Brought to you by:
kwilliams
|
From: Ken W. <kwi...@us...> - 2005-08-28 15:04:52
|
Update of /cvsroot/module-build/Module-Build/lib/Module/Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1257/lib/Module/Build Modified Files: Tag: release-0_26_branch Base.pm Log Message: Use a different directory for compiler-probing Index: Base.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/Base.pm,v retrieving revision 1.340.2.32 retrieving revision 1.340.2.33 diff -u -d -r1.340.2.32 -r1.340.2.33 --- Base.pm 9 Jun 2005 23:27:17 -0000 1.340.2.32 +++ Base.pm 28 Aug 2005 15:04:44 -0000 1.340.2.33 @@ -2488,7 +2488,7 @@ print "Checking if compiler tools configured... " if $p->{verbose}; - my $c_file = $self->config_file('compilet.c'); + my $c_file = File::Spec->catfile(File::Spec->tmpdir, 'compilet.c'); { my $fh = IO::File->new("> $c_file") or die "Can't create $c_file: $!"; print $fh "int boot_compilet() { return 1; }\n"; |