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, 20 years ago

better script for the checkout process

  • Property svn:executable set to *
File size: 637 bytes
RevLine 
[7277]1#!/usr/bin/perl
[7192]2
[7277]3
[7278]4print $_[1];
[7277]5$username = `whoami`;
[7278]6chomp $username;
[7277]7
8
[7278]9  mkdir ("/scratch/$username");
10  mkdir ("/scratch/$username\/orxonox");
[7277]11
12
[7278]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
[7277]21  print "executing autogen.sh";
22  open( AUTOGEN , "./autogen.sh |");
[7278]23  while(<AUTOGEN>){
24   print $_;
25  }
[7277]26
[7278]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  }
[7277]36
Note: See TracBrowser for help on using the repository browser.