mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 05:12:26 +00:00
Make sure buildall starts in the cirrect directory.
This commit is contained in:
parent
3c8a347d33
commit
e68743eadc
2 changed files with 3 additions and 0 deletions
|
|
@ -2,6 +2,7 @@
|
|||
use strict;
|
||||
use warnings;
|
||||
use POSIX "strftime";
|
||||
use Cwd;
|
||||
|
||||
my $branch = "v2docs";
|
||||
|
||||
|
|
@ -41,6 +42,7 @@ sub logged {
|
|||
}
|
||||
}
|
||||
|
||||
print "Buildall starting in ", getcwd, "\n";
|
||||
|
||||
unlink glob "log/*";
|
||||
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@ if ($child) {
|
|||
} else {
|
||||
# child process
|
||||
close(STDIN); close(STDOUT); close(STDERR);
|
||||
chdir "/var/lib/nethserver/ibay/githubhook";
|
||||
unlink "buildall.pl";
|
||||
system 'wget https://raw.githubusercontent.com/vishaps/voc/v2docs/src/tools/make/buildall.pl';
|
||||
exec 'perl buildall.pl >/tmp/buildall.log';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue