[csw-devel] SF.net SVN: gar:[12135] csw/mgar/gar/v2/lib/python/pkgmap.py
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Thu Dec 30 14:56:21 CET 2010
Revision: 12135
http://gar.svn.sourceforge.net/gar/?rev=12135&view=rev
Author: wahwah
Date: 2010-12-30 13:56:21 +0000 (Thu, 30 Dec 2010)
Log Message:
-----------
checkpkg: Use ResolveSymlink in pkgmap.py
Modified Paths:
--------------
csw/mgar/gar/v2/lib/python/pkgmap.py
Modified: csw/mgar/gar/v2/lib/python/pkgmap.py
===================================================================
--- csw/mgar/gar/v2/lib/python/pkgmap.py 2010-12-30 13:55:50 UTC (rev 12134)
+++ csw/mgar/gar/v2/lib/python/pkgmap.py 2010-12-30 13:56:21 UTC (rev 12135)
@@ -80,8 +80,7 @@
link_from, link_to = fields[3].split("=")
installed_path = link_from
line_to_add = "%s --> %s" % (link_from, link_to)
- target = os.path.normpath(
- os.path.join(os.path.dirname(link_from), link_to))
+ target = struct_util.ResolveSymlink(link_from, link_to)
prototype_class = fields[2]
if line_to_add:
self.paths.add(line_to_add)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list