diff options
Diffstat (limited to 'BuildManager')
-rw-r--r-- | BuildManager/build.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/BuildManager/build.py b/BuildManager/build.py index 94157b3..8fed7b0 100644 --- a/BuildManager/build.py +++ b/BuildManager/build.py @@ -9,6 +9,7 @@ import thread import sys, os import time import shutil +import glob __all__ = ["PackageBuilder"] @@ -100,7 +101,7 @@ class PackageBuilder: os.unlink(pkg.file) if self.opts.move_srpm: dir = os.path.join(pkg.builddir, "SRPMS") - for file in os.listdir(dir): + for file in glob.glob(os.path.join(dir, "*.src.rpm")): move_file(os.path.join(dir, file), self.opts.move_srpm, dryrun=self.opts.dryrun) |