diff --git a/PBot/VERSION.pm b/PBot/VERSION.pm index b7287921..2b1bb1f0 100644 --- a/PBot/VERSION.pm +++ b/PBot/VERSION.pm @@ -13,8 +13,8 @@ use warnings; # These are set automatically by the build/commit script use constant { BUILD_NAME => "PBot", - BUILD_REVISION => 759, - BUILD_DATE => "2014-08-02", + BUILD_REVISION => 760, + BUILD_DATE => "2014-08-03", }; 1; diff --git a/modules/expand_macros.pl b/modules/expand_macros.pl index a3ae1d31..5751b23a 100755 --- a/modules/expand_macros.pl +++ b/modules/expand_macros.pl @@ -286,7 +286,7 @@ open my $fh, ">prog.c" or die "Couldn't write prog.c: $!"; print $fh $code; close $fh; -my ($ret, $result) = execute(5, "gcc -E prog.c"); +my ($ret, $result) = execute(2, "bash -c \"ulimit -t 1; gcc -E prog.c\""); $result =~ s/.*# \d+ "prog.c"(\s+\d+)*//ms; $result =~ s/^#.*$//gm;