From: Eric S. Raymond Date: Tue, 24 Sep 2013 13:24:57 +0000 (-0400) Subject: Make combination of -v and -n not blow up. X-Git-Tag: 1.10~4 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=92a55942f355571c41f4488dc56e7e7d6a8230d6;p=coverity-submit.git Make combination of -v and -n not blow up. --- diff --git a/coverity-submit b/coverity-submit index f66069e..a792fd0 100755 --- a/coverity-submit +++ b/coverity-submit @@ -126,7 +126,7 @@ if __name__ == '__main__': with open(os.path.join(tmpdir, "README"), "w") as wfp: wfp.write(readme) tarball = "%s-scan.tgz" % covname - if verbose: + if verbose and not noexec: shutil.copy("cov-int/build-log.txt", "build-log.txt") do_or_die("mv cov-int %s; (cd %s; tar -czf %s README cov-int; rm -fr README cov-int)" % (tmpdir, tmpdir, tarball)) print("Posting the analysis request...")