mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 06:22:25 +00:00
Try using git pull to get updated buildall.pl as raw fetch is never up to date.
This commit is contained in:
parent
86de8a6fe5
commit
b5dbf13af4
1 changed files with 3 additions and 3 deletions
|
|
@ -43,9 +43,9 @@ if ($buildneeded) {
|
||||||
writelog "Started buildall, pid = $child."; # parent process
|
writelog "Started buildall, pid = $child."; # parent process
|
||||||
} else {
|
} else {
|
||||||
close(STDIN); close(STDOUT); close(STDERR); # child process
|
close(STDIN); close(STDOUT); close(STDERR); # child process
|
||||||
# unlink "buildall.pl";
|
#sleep 5; # Leave time for github to have the new version ready. (Yuk!)
|
||||||
sleep 10; # Leave time for github to have the new version ready. (Yuk!)
|
system 'cd voc && git pull';
|
||||||
system 'curl https://raw.githubusercontent.com/vishaps/voc/master/src/tools/make/buildall.pl >buildall.pl';
|
system 'cd ~ && cp voc/src/tools/make/buildall.pl .';
|
||||||
exec 'perl buildall.pl >/tmp/buildall.log';
|
exec 'perl buildall.pl >/tmp/buildall.log';
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue