summaryrefslogtreecommitdiffstats
path: root/BuildManager/build.py
diff options
context:
space:
mode:
authordaviddavid <geiger.david68210@gmail.com>2024-02-12 19:07:53 +0100
committerdaviddavid <geiger.david68210@gmail.com>2024-02-12 19:07:53 +0100
commit23ce51cf774a24cafd46a9a5896e54f45c42de35 (patch)
tree38b904a5c8c3250ef169469834c03add257799db /BuildManager/build.py
parentfde9fe10ef2bb4d201f81c28052dd82f36276cff (diff)
downloadbm-23ce51cf774a24cafd46a9a5896e54f45c42de35.tar
bm-23ce51cf774a24cafd46a9a5896e54f45c42de35.tar.gz
bm-23ce51cf774a24cafd46a9a5896e54f45c42de35.tar.bz2
bm-23ce51cf774a24cafd46a9a5896e54f45c42de35.tar.xz
bm-23ce51cf774a24cafd46a9a5896e54f45c42de35.zip
Add "--force-unpack" command to force unpacking (mga#32829)
- Thanks to Aurelian R
Diffstat (limited to 'BuildManager/build.py')
-rw-r--r--BuildManager/build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/BuildManager/build.py b/BuildManager/build.py
index 5a039bb..d8762c5 100644
--- a/BuildManager/build.py
+++ b/BuildManager/build.py
@@ -40,7 +40,7 @@ class PackageBuilder:
self.pkglist = PackageList()
logger.info("creating package list")
for filename in self.opts.args:
- pkg = Package(filename, self.opts.build_log)
+ pkg = Package(filename, self.opts.build_log, self.opts.forceunpack)
if pkg.type == 'rpm':
logger.info("skipping %s, not a src.rpm" % filename)
break