Remove trailing slash from collion paths
BUG:COMMENT:8612
This commit is contained in:
@@ -85,7 +85,7 @@ def check_path_collision(package, pkgList):
|
|||||||
# we'll handle this in gen_files_xml..
|
# we'll handle this in gen_files_xml..
|
||||||
continue
|
continue
|
||||||
if pisi.util.subpath(pinfo.path, path.path):
|
if pisi.util.subpath(pinfo.path, path.path):
|
||||||
collisions.append(path.path)
|
collisions.append(path.path.rstrip("/"))
|
||||||
ctx.ui.debug(_('Path %s belongs in multiple packages') %
|
ctx.ui.debug(_('Path %s belongs in multiple packages') %
|
||||||
path.path)
|
path.path)
|
||||||
return collisions
|
return collisions
|
||||||
|
|||||||
Reference in New Issue
Block a user