1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/buildbot/startbuild.pl Sat Apr 16 01:16:39 2011 -0700
1.3 @@ -0,0 +1,27 @@
1.4 +#!/usr/bin/perl
1.5 +# vim: set ts=2 sw=2 tw=99 noet:
1.6 +
1.7 +use File::Basename;
1.8 +
1.9 +my ($myself, $path) = fileparse($0);
1.10 +chdir($path);
1.11 +
1.12 +require 'helpers.pm';
1.13 +
1.14 +chdir('../../OUTPUT');
1.15 +
1.16 +if ($^O eq "linux" || $^O eq "darwin") {
1.17 + system("python3.1 build.py 2>&1");
1.18 +} else {
1.19 + system("C:\\Python31\\python.exe build.py 2>&1");
1.20 +}
1.21 +
1.22 +if ($? != 0)
1.23 +{
1.24 + die "Build failed: $!\n";
1.25 +}
1.26 +else
1.27 +{
1.28 + exit(0);
1.29 +}
1.30 +