- Timestamp:
- 2015-10-09T13:24:30+13:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gs2-extensions/parallel-building/trunk/src/perllib/FileUtils.pm
r29243 r30287 39 39 # Configuration 40 40 my $debug = 0; 41 my $linking_disabled = 1;41 my $linking_disabled = 0; 42 42 43 43 # Globals … … 556 556 } 557 557 # substitute a copy 558 elsif ($src_driver ne 'LocalFS')559 {560 if (!$done_link_warning)561 {562 &printWarning('Cannot symbolic link on non-local file systems - copying all files instead');563 $done_link_warning = 1;564 }565 &transferFiles($src_file, $dst_file, 'COPY');566 }567 558 else 568 559 { 569 if (!$done_link_warning) 570 { 571 &printWarning('Cannot symbolic link between file systems - copying all files instead'); 572 $done_link_warning = 1; 573 } 574 &transferFiles($src_file, $dst_file, 'COPY'); 560 if (!$done_link_warning) 561 { 562 if ($src_driver ne 'LocalFS' || $dst_driver ne 'LocalFS') 563 { 564 &printWarning('Cannot symbolic hardlink between non-local file systems - copying all files instead'); 565 } 566 else 567 { 568 &printWarning('Symbolic hardlinking disabled - copying all files instead'); 569 } 570 $done_link_warning = 1; 571 } 572 &transferFiles($src_file, $dst_file, 'COPY'); 575 573 } 576 574 }
Note:
See TracChangeset
for help on using the changeset viewer.