add cflags as a dependency for all object files. (it is used to control the arguments...
[p5sagit/p5-mst-13.2.git] / installperl
index aede39a..da8f45e 100755 (executable)
@@ -617,6 +617,7 @@ if (!$versiononly && $otherperls) {
        next unless m,^/,;
        # Use &samepath here because some systems have other dirs linked
        # to $mainperldir (like SunOS)
+       next unless -d;
        next if samepath($_, $binexp);
        next if samepath($_, cwd());
        next if ($mainperl_is_instperl && samepath($_, $mainperldir));