diff --git a/tools/tinderbox/report-tree-status.pl b/tools/tinderbox/report-tree-status.pl index c7f0ccbf2c85..4d5d5f6a9473 100755 --- a/tools/tinderbox/report-tree-status.pl +++ b/tools/tinderbox/report-tree-status.pl @@ -5,15 +5,15 @@ # Graph tree-open status, via tbox graph server. # -# Send data to graph server via HTTP. -require "reportdata.pl"; - -use Sys::Hostname; # for ::hostname() - # Location of this file. Make sure that hand-runs and crontab-runs # of this script read/write the same data. my $script_dir = "/builds/tinderbox/mozilla/tools/tinderbox"; +# Send data to graph server via HTTP. +require "$script_dir/reportdata.pl"; + +use Sys::Hostname; # for ::hostname() + my $sheriff_string; sub is_tree_open {