develooper Front page | perl.macperl.porters | Postings from December 2002

[PATCH ExtUtils::Install] Fixing major MacPerl bug

From:
Michael G Schwern
Date:
December 11, 2002 14:06
Subject:
[PATCH ExtUtils::Install] Fixing major MacPerl bug
Message ID:
20021211220638.GD912@blackrider.schwern.org
The following patch fixes a major bug in ExtUtils::Install on MacPerl.
With this in place it will work and install files.

--- lib/ExtUtils/Install.pm     12 Nov 2002 23:47:34 -0000      1.7
+++ lib/ExtUtils/Install.pm     7 Dec 2002 21:44:10 -0000       1.8
@@ -156,7 +154,7 @@
            # Record the full pathname.
            $packlist->{$targetfile}++;
 
-       }, ".");
+       }, File::Spec->curdir);
        chdir($cwd) or Carp::croak("Couldn't chdir to $cwd: $!");
     }
     if ($pack{'write'}) {


-- 

Michael G. Schwern   <schwern@pobox.com>    http://www.pobox.com/~schwern/
Perl Quality Assurance      <perl-qa@perl.org>         Kwalitee Is Job One
The desired effect is what you get when you improve your interplanetary 
funksmanship.



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About