Changeset 1388 for trunk/locker/sbin
- Timestamp:
- Dec 22, 2009, 8:41:53 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/locker/sbin/parallel-find.pl
r1387 r1388 51 51 my $dirname = shift; 52 52 open my $h, "$dirname/.scripts-version"; 53 return (<$h>)[-1]; 53 chomp (my $v = (<$h>)[-1]); 54 return $v; 54 55 } 55 56 … … 62 63 print "Failed to read value for $dirname\n" 63 64 } 64 return "$val\n";65 return $val; 65 66 } 66 67 … … 83 84 } 84 85 $v = $new_style ? version($f) : old_version($f); 85 print $out "$f:$v ";86 print $out "$f:$v\n"; 86 87 } 87 88 return 0;
Note: See TracChangeset
for help on using the changeset viewer.