On Sat, Dec 20, 2003 at 11:00:45PM +0200, Saku Setala wrote:
> Craig,
> 
> thanks for the info.
> 
> If I create FOO.BAR to those empty directories, would then chmod succeed?

The simplest way around this, for the moment, is to tell make to ignore
the chmod errors.  MMK/S's way of doing this is a dash like everyone else,
IIRC.

--- lib/ExtUtils/MM_Any.pm      14 Nov 2003 01:30:33 -0000      1.68
+++ lib/ExtUtils/MM_Any.pm      20 Dec 2003 23:49:53 -0000
@@ -105,7 +105,7 @@
                                        man1dir man3dir
                                       );
     my @mkpath = $self->split_command('$(NOECHO) $(MKPATH)', @dirs);
-    my @chmod  = $self->split_command('$(NOECHO) $(CHMOD) 755', @dirs);
+    my @chmod  = $self->split_command('-$(NOECHO) $(CHMOD) 755', @dirs);
 
     my $make = "\nblibdirs :: Makefile.PL \n";
     $make .= join "", map { "\t$_\n" } @mkpath, @chmod;


-- 
Michael G Schwern        [EMAIL PROTECTED]  http://www.pobox.com/~schwern/
I can't give you any knowledge, but who wants candy??
        -- http://www.angryflower.com/drawin.gif

Reply via email to