def fail():
+ set_var("result", "failure")
sys.stderr.write("Build failed, refer to:\n\t%s\nfor details.\n" % logfile)
sys.exit(1)
if gnulib_commit is None:
sys.stderr.write("%s does not specify a Git commit number\n"
% fullname)
- sys.exit(1)
+ fail()
set_var("gnulib_commit", gnulib_commit)
version = add_commit_to_version("pspp", revision, "pspp",
# distcleancheck
start_step("Success")
+set_var("result", "success")