(#1238875) Backup dir currently use config name , and we may have various config names for the same root name , so it is better use root name which is always the same.
Signed-off-by: Sérgio M. Basto sergio@serjux.com --- py/mockbuild/backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/py/mockbuild/backend.py b/py/mockbuild/backend.py index ef3eedd..c83edc5 100644 --- a/py/mockbuild/backend.py +++ b/py/mockbuild/backend.py @@ -57,7 +57,7 @@ class Commands(object): srcdir = os.path.join(self.buildroot.basedir, "result") if not os.path.exists(srcdir): return - dstdir = os.path.join(self.backup_base_dir, self.config_name) + dstdir = os.path.join(self.backup_base_dir, self.config['root']) util.mkdirIfAbsent(dstdir) rpms = glob.glob(os.path.join(srcdir, "*rpm")) if len(rpms) == 0:
Dne 7.4.2016 v 00:08 Sérgio M. Basto napsal(a):
(#1238875) Backup dir currently use config name , and we may have various config names for the same root name , so it is better use root name which is always the same.
Signed-off-by: Sérgio M. Basto sergio@serjux.com
Merged as: * 9349944 (HEAD -> devel, origin/devel) Use root name instead config name for backups dir.
Thank you.
buildsys@lists.fedoraproject.org