From 4be66f3a592f07230a7d42d9b8cf1908cb9a3997 Mon Sep 17 00:00:00 2001 From: Owen Dunn Date: Sat, 15 Jan 2005 17:16:48 +0000 Subject: [PATCH] Throw away "./" in findfile so that the Mac makefile has valid paths. [originally from svn r5111] --- mkfiles.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/mkfiles.pl b/mkfiles.pl index c789d92f..d595e535 100755 --- a/mkfiles.pl +++ b/mkfiles.pl @@ -242,6 +242,7 @@ sub findfile { $i = 0; foreach $dir (@srcdirs) { $outdir = $dir, $i++ if -f "$dir$name"; + $outdir=~s/^\.\///; } die "multiple instances of source file $name\n" if $i > 1; $findfilecache{$name} = $outdir . $name;