mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 18:02:25 +00:00
Build machine to pick up latest buildall.pl every time.
This commit is contained in:
parent
ec7888859c
commit
c7984ffdac
2 changed files with 12 additions and 10 deletions
|
|
@ -42,6 +42,7 @@ sub logged {
|
|||
}
|
||||
|
||||
|
||||
unlink glob "log/*";
|
||||
|
||||
for my $machine (sort keys %machines) {
|
||||
my ($login, $sudo, $dir) = @{$machines{$machine}};
|
||||
|
|
|
|||
|
|
@ -40,7 +40,8 @@ if ($child) {
|
|||
} else {
|
||||
# child process
|
||||
close(STDIN); close(STDOUT); close(STDERR);
|
||||
exec 'perl /var/lib/nethserver/ibay/githubhook/buildall.pl >/tmp/buildall.log';
|
||||
system 'wget https://raw.githubusercontent.com/vishaps/voc/v2docs/src/tools/make/buildall.pl';
|
||||
exec 'perl buildall.pl >/tmp/buildall.log';
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue