support/buildbot/bootstrap.pl
changeset 558 0ed2a4a6e31d
child 560 9ccd8e5f2dce
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/support/buildbot/bootstrap.pl	Tue Nov 18 02:28:38 2008 -0600
     1.3 @@ -0,0 +1,24 @@
     1.4 +#!/usr/bin/perl
     1.5 +
     1.6 +use strict;
     1.7 +use Cwd;
     1.8 +use File::Basename;
     1.9 +
    1.10 +my ($myself, $path) = fileparse($0);
    1.11 +chdir($path);
    1.12 +
    1.13 +require 'helpers.pm';
    1.14 +
    1.15 +#Go to main source dir
    1.16 +chdir(Build::PathFormat('../..'));
    1.17 +
    1.18 +#Do the annoying revision bumping.
    1.19 +#Linux needs some help here.
    1.20 +if ($^O eq "linux")
    1.21 +{
    1.22 +	Build::Command("flip -u modules.versions");
    1.23 +	Build::Command("flip -u support/versionchanger.pl");
    1.24 +	Build::Command("chmod +x support/versionchanger.pl");
    1.25 +}
    1.26 +Build::Command(Build::PathFormat('support/versionchanger.pl') . '--buildstring="-dev"');
    1.27 +