* Nix expression for building Hydra.
This commit is contained in:
2
src/Hydra/script/hydra_build.pl
Normal file → Executable file
2
src/Hydra/script/hydra_build.pl
Normal file → Executable file
@ -1,4 +1,4 @@
|
||||
#! @perl@ -w
|
||||
#! /var/run/current-system/sw/bin/perl -w
|
||||
|
||||
use strict;
|
||||
use File::Basename;
|
||||
|
4
src/Hydra/script/hydra_queue_runner.pl
Normal file → Executable file
4
src/Hydra/script/hydra_queue_runner.pl
Normal file → Executable file
@ -1,4 +1,4 @@
|
||||
#! @perl@ -w
|
||||
#! /var/run/current-system/sw/bin/perl -w
|
||||
|
||||
use strict;
|
||||
use Cwd;
|
||||
@ -100,7 +100,7 @@ sub checkBuilds {
|
||||
open LOG, ">$logfile" or die "cannot create logfile $logfile";
|
||||
POSIX::dup2(fileno(LOG), 1) or die;
|
||||
POSIX::dup2(fileno(LOG), 2) or die;
|
||||
exec("perl", "-I$hydraHome/lib", "-w", "$ENV{'HYDRA_HOME'}/programs/Build.pl", $id);
|
||||
exec("hydra_build.pl", $id);
|
||||
};
|
||||
warn "cannot start build $id: $@";
|
||||
POSIX::_exit(1);
|
||||
|
2
src/Hydra/script/hydra_scheduler.pl
Normal file → Executable file
2
src/Hydra/script/hydra_scheduler.pl
Normal file → Executable file
@ -1,4 +1,4 @@
|
||||
#! @perl@ -w
|
||||
#! /var/run/current-system/sw/bin/perl -w
|
||||
|
||||
use strict;
|
||||
use XML::Simple;
|
||||
|
Reference in New Issue
Block a user