From 92a55942f355571c41f4488dc56e7e7d6a8230d6 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 24 Sep 2013 09:24:57 -0400 Subject: [PATCH] Make combination of -v and -n not blow up. --- coverity-submit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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...") -- 2.43.0