Skip to content

Commit

Permalink
[t] Fix checkdepend.t on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
nwellnhof committed Jan 2, 2011
1 parent 9eeccff commit 270fec7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion config/gen/platform/win32/uid.c
Expand Up @@ -3,7 +3,6 @@
*/

#include "parrot/parrot.h"
#include "windows.h"

/*
Expand Down
6 changes: 4 additions & 2 deletions t/src/checkdepend.t
Expand Up @@ -49,7 +49,8 @@ if (! -e 'Makefile') {
}

my @incfiles = [];
find( \&wanted, qw/src compilers include frontend/);
find( { wanted => \&wanted, no_chdir => 1 },
qw/src compilers include frontend/ );

our %deps;

Expand Down Expand Up @@ -80,8 +81,9 @@ foreach my $file (sort grep /\.[hc]$/, @incfiles) {
for my $path (@include_dirs) {
next if $found;

my $make_dep = collapse_path(File::Spec->catfile($path, $include));
my $make_dep = File::Spec->catfile($path, $include);
if (defined($make_dep) && -f $make_dep) {
$make_dep = collapse_path($make_dep);
push @{$deps{$file}}, $make_dep;
$found = 1;
}
Expand Down

0 comments on commit 270fec7

Please sign in to comment.