- Timestamp:
- 01/19/08 03:23:22 (10 months ago)
- Files:
-
- 1 modified
-
util/fudgeall (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
util/fudgeall
r19582 r19583 5 5 6 6 my $platform = shift; 7 @ARGV = <@ARGV> if $^O eq 'MSWin32'; 7 8 8 9 use Cwd; 9 my $ dir= getcwd;10 my $top = getcwd; 10 11 11 my $SPEC = $dir =~ /\bspec\b/; 12 while (not -f "$dir/util/fudge") { 13 die "Not inside pugs directory\n" unless $dir; 14 $dir =~ s!(.*)/(.*)!!; 12 while (not -f "$top/util/fudge") { 13 die "Not inside appropriate directory\n" unless $top; 14 $top =~ s!(.*)/(.*)!!; 15 15 } 16 16 17 17 print join(' ', 18 18 map { 19 if ($SPEC or m!\bspec\b!) { 20 chomp(my $pick = `$dir/util/fudge $platform $_`); 21 $pick; 22 } 23 else { 24 $_; 25 } 19 chomp(my $pick = `$top/util/fudge $platform $_`); 20 $pick; 26 21 } @ARGV 27 22 ), "\n";
