don't create empty directories in installperl
Robin Barker [Fri, 21 Aug 1998 11:29:24 +0000 (12:29 +0100)]
Message-Id: <199808211029.LAA00551@cyclone.cise.npl.co.uk>
Subject: [PATCH 5.005_02] install: empty dirs

p4raw-id: //depot/perl@1816

installperl

index 2db72d4..0ce39bf 100755 (executable)
@@ -564,8 +564,6 @@ sub installlib {
                and chmod($name =~ /\.(so|$dlext)$/o ? 0555 : 0444,
                           "$installlib/$name");
        }
-    } elsif (-d $_) {
-       mkpath("$installlib/$name", 1, 0777);
     }
 }