Ticket #509: install_files.patch
File install_files.patch, 0.7 KB (added by gerd, 13 years ago) |
---|
-
tools/dev/install_files.pl
old new 292 292 else { 293 293 next unless -e $src; 294 294 next if $^O eq 'cygwin' and -e "$src.exe"; # stat works, copy not 295 if (-l $src) { 296 # check if the system supports symbolic linking 297 use Config; 298 if ($Config{d_symlink} && $Config{d_readlink}) { 299 # copy as symbolic link 300 symlink(readlink($src), $dest); 301 print "$dest\n"; 302 next; 303 } 304 } 295 305 copy( $src, $dest ) or die "copy $src to $dest: $!\n"; 296 306 print "$dest\n"; 297 307 }