summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--class.portage.category.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/class.portage.category.php b/class.portage.category.php
index 0136c18..7b3ced6 100644
--- a/class.portage.category.php
+++ b/class.portage.category.php
@@ -4,6 +4,7 @@
private $name;
protected $dir;
+ protected $cache_dir;
private $metadata;
private $description;
@@ -28,6 +29,7 @@
$str = basename($str);
$dir = $this->getTree()."/".$str;
+ $this->cache_dir = $this->getTree()."/metadata/cache/".$str;
$this->metadata = $dir."/metadata.xml";
if(is_dir($dir)) {