support/buildbot/bootstrap.pl
author David Anderson <dvander@alliedmods.net>
Tue Nov 18 02:42:32 2008 -0600 (2008-11-18)
changeset 560 9ccd8e5f2dce
parent 558 0ed2a4a6e31d
child 609 e1ab9b3f50c8
permissions -rwxr-xr-x
Fixed bug in bootstrapper.
     1 #!/usr/bin/perl
     2 
     3 use strict;
     4 use Cwd;
     5 use File::Basename;
     6 
     7 my ($myself, $path) = fileparse($0);
     8 chdir($path);
     9 
    10 require 'helpers.pm';
    11 
    12 #Go to main source dir
    13 chdir(Build::PathFormat('../..'));
    14 
    15 #Do the annoying revision bumping.
    16 #Linux needs some help here.
    17 if ($^O eq "linux")
    18 {
    19 	Build::Command("flip -u modules.versions");
    20 	Build::Command("flip -u support/versionchanger.pl");
    21 	Build::Command("chmod +x support/versionchanger.pl");
    22 }
    23 Build::Command(Build::PathFormat('support/versionchanger.pl') . ' --buildstring="-dev"');
    24