From f6f46adfbd57d5ca95ddb47da820f032360c1b70 Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Tue, 31 Jul 2001 07:42:43 +0000 Subject: Fix breakage introduced in previous commit. --- Tools/scripts/patchtool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Tools') diff --git a/Tools/scripts/patchtool.py b/Tools/scripts/patchtool.py index 845a7ff92c6c..7cbeb1d67bc8 100755 --- a/Tools/scripts/patchtool.py +++ b/Tools/scripts/patchtool.py @@ -155,7 +155,7 @@ def querymakevar(varname, path = 'Makefile', strict = False, cache = {}): # def getrelpath(path, wrksrc): path = os.path.abspath(path) - wrksrc = os.path.abspath(wrksrc) + wrksrc = os.path.abspath(wrksrc) + '/' commonpart = os.path.commonprefix((path, wrksrc)) while commonpart[-1:] != '/': commonpart = commonpart[:-1] -- cgit v1.2.3