~mdw
/
sgt
/
putty
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72e2207
)
Throw away "./" in findfile so that the Mac makefile has valid paths.
author
owen
<owen@cda61777-01e9-0310-a592-d414129be87e>
Sat, 15 Jan 2005 17:16:48 +0000
(17:16 +0000)
committer
owen
<owen@cda61777-01e9-0310-a592-d414129be87e>
Sat, 15 Jan 2005 17:16:48 +0000
(17:16 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@5111
cda61777
-01e9-0310-a592-
d414129be87e
mkfiles.pl
patch
|
blob
|
blame
|
history
diff --git
a/mkfiles.pl
b/mkfiles.pl
index
c789d92
..
d595e53
100755
(executable)
--- 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;