From fc42fc249729bbd78b1b388499dd374dd324de2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20A=C5=9F=C4=B1c=C4=B1?= Date: Thu, 30 Apr 2009 20:03:43 +0000 Subject: [PATCH] Remove trailing slash from collion paths BUG:COMMENT:8612 --- pisi/operations/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pisi/operations/build.py b/pisi/operations/build.py index 61316345..060787ab 100644 --- a/pisi/operations/build.py +++ b/pisi/operations/build.py @@ -85,7 +85,7 @@ def check_path_collision(package, pkgList): # we'll handle this in gen_files_xml.. continue 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') % path.path) return collisions