diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-07-31 08:50:36 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-07-31 08:50:36 +0000 |
commit | 14239573e7455acea9228b3be0df2278e9185863 (patch) | |
tree | 70e09c56379e6491d563ce313eededa5ea64b2fd /Tools/scripts | |
parent | 65fa51d9fd9ccad9677d464c099b8692d8227d69 (diff) | |
download | FreeBSD-ports-14239573e7455acea9228b3be0df2278e9185863.zip FreeBSD-ports-14239573e7455acea9228b3be0df2278e9185863.tar.gz |
Actually fix the breakage introduced in rev 1.2.
Diffstat (limited to 'Tools/scripts')
-rwxr-xr-x | Tools/scripts/patchtool.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Tools/scripts/patchtool.py b/Tools/scripts/patchtool.py index 7cbeb1d..3e28abd 100755 --- a/Tools/scripts/patchtool.py +++ b/Tools/scripts/patchtool.py @@ -161,8 +161,6 @@ def getrelpath(path, wrksrc): commonpart = commonpart[:-1] path = path[len(commonpart):] wrksrc = wrksrc[len(commonpart):] - if wrksrc == '': - path = path[1:] adjust = '' while os.path.normpath(os.path.join(wrksrc, adjust)) != '.': adjust = os.path.join(adjust, '..') |