Make sure buildall starts in the cirrect directory.

This commit is contained in:
David Brown 2016-07-01 15:53:29 +01:00
parent 3c8a347d33
commit e68743eadc
2 changed files with 3 additions and 0 deletions

View file

@ -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';