diff --git a/src/tools/make/buildall.pl b/src/tools/make/buildall.pl index 7ac0a819..c67642e8 100755 --- a/src/tools/make/buildall.pl +++ b/src/tools/make/buildall.pl @@ -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/*"; diff --git a/src/tools/make/postpush.pl b/src/tools/make/postpush.pl index fdbe8829..954d604e 100755 --- a/src/tools/make/postpush.pl +++ b/src/tools/make/postpush.pl @@ -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';