-#!/usr/bin/perl -w
use v5.14;
use strict;
use warnings;
+use FindBin;
+
use Test::More tests => 1;
-BEGIN { use_ok('Gruntmaster::Daemon') };
+BEGIN {
+ $ENV{PATH} = "$FindBin::Bin/../blib/script:" . $ENV{PATH};
+ use_ok('Gruntmaster::Daemon')
+};
-#!/usr/bin/perl -w
use v5.14;
use strict;
use warnings;
use File::Slurp qw/read_file/;
use File::Temp qw/tempdir/;
use File::Which qw/which/;
+use FindBin;
use Hash::Merge qw/merge/;
use List::Util qw/sum/;
use Log::Log4perl;
Log::Log4perl->init(\$log_conf);
$ENV{PATH} = getcwd . ':' . $ENV{PATH};
+$ENV{PATH} = "$FindBin::Bin/../blib/script:" . $ENV{PATH};
umask 0022;
sub check_job{