Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/scripts/tardis-scratch-checkout.pl @ 7278

Last change on this file since 7278 was 7278, checked in by bensch, 18 years ago

better script for the checkout process

  • Property svn:executable set to *
File size: 637 bytes
Line 
1#!/usr/bin/perl
2
3
4print $_[1];
5$username = `whoami`;
6chomp $username;
7
8
9  mkdir ("/scratch/$username");
10  mkdir ("/scratch/$username\/orxonox");
11
12
13  open(SVN_CO, "svn co https://svn.orxonox.net/orxonox/trunk /scratch/$username\/orxonox/trunk |");
14  while(<SVN_CO>){
15  print $_;
16  }
17 
18  chdir("/scratch/$username\/orxonox/trunk");
19
20
21  print "executing autogen.sh";
22  open( AUTOGEN , "./autogen.sh |");
23  while(<AUTOGEN>){
24   print $_;
25  }
26
27  print "executing configure for tardis";
28  open(CONFIGURE, "./configure --with-tardis |");
29  while(<CONFIGURE>){
30    printf $_;
31  }
32  open(MAKE, "make -j3|");
33  while(<MAKE>) {
34    print $_;
35  }
36
Note: See TracBrowser for help on using the repository browser.