Changeset 36924
- Timestamp:
- Jun 20, 2014, 2:46:26 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/sc_transfer_tool.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/sc_transfer_tool.pl
r36844 r36924 51 51 while(<I>) { 52 52 chomp; 53 $i = int(rand($#filehandles)); 54 53 55 my $fline; 54 56 if ($fetch) { … … 57 59 if (($fetch)&&(!(-e $_))) { # We are fetching, and do not already have this file. 58 60 print { $filehandles[$i] } $fline; 59 $i++;61 # $i++; 60 62 } 61 63 elsif (!($fetch)) { # We are pushing 62 64 # if (-e "${local_tmp}/$_") { 63 65 print { $filehandles[$i] } "${local_tmp}/$_" . "\n"; 64 $i++;66 # $i++; 65 67 # } 66 68 # else { # But somehow couldn't find the file we expected … … 69 71 # } 70 72 } 71 if ($i >= $threads) { $i = 0; }73 # if ($i >= $threads) { $i = 0; } 72 74 } 73 75 close(I);
Note:
See TracChangeset
for help on using the changeset viewer.
