summaryrefslogtreecommitdiff
path: root/tools.pas
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-05-16 13:09:20 +0200
committerErich Eckner <git@eckner.net>2016-05-16 13:09:20 +0200
commit06bce82bd327798af44389f9bdc0ff46f5ffdd1c (patch)
treec266d187b09fd52030cb80d6cd7baab040abf17f /tools.pas
parent00c350ad4246197da4d6bc216ed020cb887fc98f (diff)
downloadMake-06bce82bd327798af44389f9bdc0ff46f5ffdd1c.tar.xz
relative Pfade in .summen speichern
Diffstat (limited to 'tools.pas')
-rw-r--r--tools.pas5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools.pas b/tools.pas
index 3b9671b..a7cdfad 100644
--- a/tools.pas
+++ b/tools.pas
@@ -378,7 +378,10 @@ begin
rb:=0;
for i:=0 to erg.count-1 do
if not gut xor (rightStr(erg[i],4)=': OK') then begin
- result[gut].add(leftStr(erg[i],pos(':',erg[i])-1));
+ s:=leftStr(erg[i],pos(':',erg[i])-1);
+ if leftStr(s,1)<>'/' then
+ s:=extractfilepath(sumNam)+s;
+ result[gut].add(s);
inc(rb);
end;
end;