1
0
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:
Maxim Sobolev 2001-07-31 08:50:36 +00:00
parent f6f46adfbd
commit c7d13486e3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=45650

View File

@ -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, '..')