]> thyrsus.com Git - coverity-submit.git/commitdiff
Make combination of -v and -n not blow up.
authorEric S. Raymond <esr@thyrsus.com>
Tue, 24 Sep 2013 13:24:57 +0000 (09:24 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Tue, 24 Sep 2013 13:24:57 +0000 (09:24 -0400)
coverity-submit

index f66069eaab63c0760580f8b34994ce8381deb9dc..a792fd0a7969e2cedc8e4c11df263722ebd29deb 100755 (executable)
@@ -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...")