diff options
Diffstat (limited to 'tests/scripts/options/dash-I')
-rw-r--r-- | tests/scripts/options/dash-I | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/scripts/options/dash-I b/tests/scripts/options/dash-I index 64ee7c58..37178b3d 100644 --- a/tests/scripts/options/dash-I +++ b/tests/scripts/options/dash-I @@ -86,7 +86,7 @@ create_file('defaultdirs.mk', "\$(info \$(.INCLUDE_DIRS))\nall:;\@:\n"); my $cmd = subst_make_string("#MAKEPATH# -f defaultdirs.mk"); my @dirs = `$cmd`; my $dirs = $dirs[0]; -chomp $dirs; +$dirs =~ s/\r?\n//g; unlink('defaultdirs.mk'); my $fn = undef; |