ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/src/Utilities/AddDir.pm
(Generate patch)

Comparing COMP/SCRAM/src/Utilities/AddDir.pm (file contents):
Revision 1.6 by sashby, Fri May 11 08:49:52 2001 UTC vs.
Revision 1.7 by sashby, Fri Dec 10 13:41:43 2004 UTC

# Line 36 | Line 36 | sub copydir
36     use DirHandle;
37     use File::Copy;
38    
39   # print "Copying $src to $dest\n";
39     adddir($dest);
40     my $dh=DirHandle->new($src);
41    
# Line 55 | Line 54 | sub copydir
54           else
55              {
56              copy($src."/".$file,$dest."/".$file);
57 +            if ( -x $src."/".$file || -X $src."/".$file ) {chmod(0775,$dest."/".$file);}
58              }
59           }
60        undef $dh;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines