diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-07-31 08:50:36 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-07-31 08:50:36 +0000 |
commit | c7d13486e3f80aa4b48ef13668629edfdcd76fb6 (patch) | |
tree | 5039f1a9084809873381c4645962b7fc6818cc4c /Tools/scripts/patchtool.py | |
parent | f6f46adfbd57d5ca95ddb47da820f032360c1b70 (diff) | |
download | ports-c7d13486e3f80aa4b48ef13668629edfdcd76fb6.tar.gz ports-c7d13486e3f80aa4b48ef13668629edfdcd76fb6.zip |
Notes
Diffstat (limited to 'Tools/scripts/patchtool.py')
-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 7cbeb1d67bc8..3e28abd39335 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, '..') |