summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--py/mock/plugins/root_cache.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/py/mock/plugins/root_cache.py b/py/mock/plugins/root_cache.py
index a178e99..8bcff23 100644
--- a/py/mock/plugins/root_cache.py
+++ b/py/mock/plugins/root_cache.py
@@ -115,9 +115,9 @@ class RootCache(object):
mock.util.do(
["tar"] + self.compressArgs + ["-cf", self.rootCacheFile,
"-C", self.rootObj.makeChrootPath(),
- "--exclude=proc",
- "--exclude=sys",
- "--exclude=dev",
+ "--exclude=./proc",
+ "--exclude=./sys",
+ "--exclude=./dev",
"."],
shell=False
)