projects
/
tools
/
gbs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aaf50a0
)
Don't show generating src rpm info if no --source-rpm
author
Zhang Qiang
<qiang.z.zhang@intel.com>
Wed, 24 Oct 2012 05:10:38 +0000
(13:10 +0800)
committer
Zhang Qiang
<qiang.z.zhang@intel.com>
Wed, 24 Oct 2012 05:10:38 +0000
(13:10 +0800)
Change-Id: I0aed603c387633f2abfc7b2bf31dd95a63e35894
gitbuildsys/cmd_export.py
patch
|
blob
|
history
diff --git
a/gitbuildsys/cmd_export.py
b/gitbuildsys/cmd_export.py
index 966d3a8d93196f2f940456af78c75565b1ad2562..3e3c98845c2c22d10859492184236e5c40e8b9e0 100644
(file)
--- a/
gitbuildsys/cmd_export.py
+++ b/
gitbuildsys/cmd_export.py
@@
-211,7
+211,8
@@
def main(args):
spec.release)
shutil.rmtree(outdir, ignore_errors=True)
shutil.move(export_dir, outdir)
- msger.info('source rpm generated to:\n %s/%s.src.rpm' % \
- (outdir, os.path.basename(outdir)))
+ if args.source_rpm:
+ msger.info('source rpm generated to:\n %s/%s.src.rpm' % \
+ (outdir, os.path.basename(outdir)))
msger.info('package files have been exported to:\n %s' % outdir)