diff options
author | Michael E Brown <michael_e_brown@dell.com> | 2007-12-11 12:58:29 -0600 |
---|---|---|
committer | Michael E Brown <michael_e_brown@dell.com> | 2007-12-11 12:58:54 -0600 |
commit | 5149616ad7eda3c07fd0f13f1091c1db06a9cf7e (patch) | |
tree | 8bce9d9c3ab1152a4dd831cf136a8266f8ca070f | |
parent | 4ebeda2c46e91902210988e158ff08b6e6b25365 (diff) | |
download | mock-5149616ad7eda3c07fd0f13f1091c1db06a9cf7e.tar.gz mock-5149616ad7eda3c07fd0f13f1091c1db06a9cf7e.tar.xz mock-5149616ad7eda3c07fd0f13f1091c1db06a9cf7e.zip |
fix rebuild multiple srpms test.
-rwxr-xr-x | py/mock.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -277,7 +277,7 @@ def set_config_opts_per_cmdline(config_opts, options, args): raise mock.exception.BadCmdline( "Must specify --resultdir when using --cleanup-after") - if len(args) > 1 and not options.resultdir: + if options.mode in ("rebuild",) and len(args) > 1 and not options.resultdir: raise mock.exception.BadCmdline( "Must specify --resultdir when building multiple RPMS.") |