summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2014-04-29 19:04:12 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2014-04-29 19:04:12 +0200
commit7505025601880e7d7d12ce9baf817c43ba6bbeda (patch)
tree5a1cb8411e172368bee388a8259879fb76fa123a
parent1a8b9441e905a4c0bfefb00ffa8c351a09a55f9a (diff)
parent4ad3e5877d3e01b8de6f9a54d0f12ed3827c2ff8 (diff)
downloadbugzilla-7505025601880e7d7d12ce9baf817c43ba6bbeda.tar.gz
bugzilla-7505025601880e7d7d12ce9baf817c43ba6bbeda.tar.xz
Merge branch 'master' of ssh://git.mozilla.org/bugzilla/bugzilla
-rwxr-xr-x[-rw-r--r--]clean-bug-user-last-visit.pl0
-rwxr-xr-xdocs/makedocs.pl6
2 files changed, 5 insertions, 1 deletions
diff --git a/clean-bug-user-last-visit.pl b/clean-bug-user-last-visit.pl
index 9884b7c48..9884b7c48 100644..100755
--- a/clean-bug-user-last-visit.pl
+++ b/clean-bug-user-last-visit.pl
diff --git a/docs/makedocs.pl b/docs/makedocs.pl
index d14e79434..4f0f52579 100755
--- a/docs/makedocs.pl
+++ b/docs/makedocs.pl
@@ -57,12 +57,14 @@ use File::Which qw(which);
# Subs
###############################################################################
+my $error_found = 0;
sub MakeDocs {
my ($name, $cmdline) = @_;
say "Creating $name documentation ..." if defined $name;
say "$cmdline\n";
- system $cmdline;
+ system($cmdline) == 0
+ or $error_found = 1;
print "\n";
}
@@ -160,3 +162,5 @@ foreach my $lang (@langs) {
rmtree('doctrees', 0, 1);
}
+
+die "Error occurred building the documentation\n" if $error_found;