#!/usr/bin/perl # vim: set ts=2 sw=2 tw=99 noet: use File::Basename; my ($myself, $path) = fileparse($0); chdir($path); require 'helpers.pm'; chdir('../../../OUTPUT'); if ($^O eq "linux") { $output = `python3.1 build.py 2>&1`; } else { $output = `C:\\Python31\\python.exe build.py 2>&1`; } print($output); if ($? != 0) { die "Build failed: $!\n"; } else { exit(0); }