mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
Actually fix the breakage introduced in rev 1.2.
This commit is contained in:
parent
f6f46adfbd
commit
c7d13486e3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=45650
@ -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, '..')
|
||||
|
Loading…
Reference in New Issue
Block a user