aboutsummaryrefslogtreecommitdiffstats
path: root/Tools/scripts
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-07-31 15:42:43 +0800
committersobomax <sobomax@FreeBSD.org>2001-07-31 15:42:43 +0800
commit65fa51d9fd9ccad9677d464c099b8692d8227d69 (patch)
treee83e2b0a620ea8d2276160ebeeea0be60226b670 /Tools/scripts
parent3f41397c2538124bdddf1d6b952f081351093443 (diff)
downloadfreebsd-ports-gnome-65fa51d9fd9ccad9677d464c099b8692d8227d69.tar.gz
freebsd-ports-gnome-65fa51d9fd9ccad9677d464c099b8692d8227d69.tar.zst
freebsd-ports-gnome-65fa51d9fd9ccad9677d464c099b8692d8227d69.zip
Fix breakage introduced in previous commit.
Diffstat (limited to 'Tools/scripts')
-rwxr-xr-xTools/scripts/patchtool.py2
1 files changed, 1 insertions, 1 deletions
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]