Throw away "./" in findfile so that the Mac makefile has valid paths.
[u/mdw/putty] / mkfiles.pl
index c789d92..d595e53 100755 (executable)
@@ -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;