make the cache also work when you use softlinks to the packages - patch courtesy...
authorMichael 'Mickey' Lauer <mickey@vanille-media.de>
Fri, 17 Jun 2005 13:24:41 +0000 (13:24 +0000)
committerMichael 'Mickey' Lauer <mickey@vanille-media.de>
Fri, 17 Jun 2005 13:24:41 +0000 (13:24 +0000)
lib/bb/data_smart.py

index 6b788ac..e1ced4e 100644 (file)
@@ -303,7 +303,7 @@ class DataSmartPackage(DataSmart):
         DataSmart.__init__(self)
 
         self.cache  = cache
-        self.bbfile = name
+        self.bbfile = os.path.abspath( name )
 
         # Either unpickle the data or do copy on write
         if clean: