summaryrefslogtreecommitdiffstats
path: root/py/mock/plugins/root_cache.py
diff options
context:
space:
mode:
Diffstat (limited to 'py/mock/plugins/root_cache.py')
-rw-r--r--py/mock/plugins/root_cache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/mock/plugins/root_cache.py b/py/mock/plugins/root_cache.py
index 7bae43f..9cb0a13 100644
--- a/py/mock/plugins/root_cache.py
+++ b/py/mock/plugins/root_cache.py
@@ -89,7 +89,7 @@ class RootCache(object):
self.state("creating cache")
self._rootCacheLock(shared=0)
mock.util.do(
- ["tar", "czf", self.rootCacheFile, "-C", self.rootObj.makeChrootPath()],
+ ["tar", "czf", self.rootCacheFile, "-C", self.rootObj.makeChrootPath(), "."],
shell=False
)
self._rootCacheUnlock()