summaryrefslogtreecommitdiff
path: root/lib/lib_pm.PL
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-06-05 00:07:15 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-06-05 00:07:15 +0000
commit5b86572164387fde73051a7dd9281f0f2dbcc081 (patch)
tree4f3ecbe89c7da06b85208ced535fed19e55b61c9 /lib/lib_pm.PL
parentefc3b6b58e3c8ae151afb5c494ee30cd4ecf7584 (diff)
downloadperl-5b86572164387fde73051a7dd9281f0f2dbcc081.tar.gz
Integrate macperl changes #16974 and #16975;
nativize() isn't happy with absolute Mac paths Test::Harness test fixes, attempt #3 :-) p4raw-link: @16974 on //depot/macperl: 594896ac796bb1aa12d08048b3e095be1cebc16d p4raw-id: //depot/perl@16989 p4raw-integrated: from //depot/macperl@16987 'copy in' ext/DynaLoader/DynaLoader_pm.PL (@16929..) lib/ExtUtils/MM_MacOS.pm (@16938..) lib/Test/Harness/t/callback.t lib/Test/Harness/t/strap-analyze.t lib/Test/Harness/t/test-harness.t lib/lib_pm.PL (@16968..)
Diffstat (limited to 'lib/lib_pm.PL')
-rw-r--r--lib/lib_pm.PL2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lib_pm.PL b/lib/lib_pm.PL
index 8e949061a0..6c9ab05bc0 100644
--- a/lib/lib_pm.PL
+++ b/lib/lib_pm.PL
@@ -149,7 +149,7 @@ sub _get_dirs {
sub _nativize {
my($dir) = @_;
- if ($Is_MacOS && $Mac_FS) {
+ if ($Is_MacOS && $Mac_FS && ! -d $dir) {
$dir = Mac::FileSpec::Unixish::nativize($dir);
$dir .= ":" unless $dir =~ /:$/;
}