Changeset 7279 in orxonox.OLD for trunk/scripts
- Timestamp:
- Apr 4, 2006, 3:22:01 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/tardis-scratch-checkout.pl
r7278 r7279 2 2 3 3 4 print $_[1]; 4 5 $source = @ARGV[0]; 6 if ($source eq "help" || $source eq "h"){ 7 print "ORXONOX checkout script for Tardis:\n usage:\n tardis-scratch-checkout.pl [branche]\n"; 8 exit; 9 } 10 if ($source eq "") { 11 $source = "trunk"; 12 } 13 5 14 $username = `whoami`; 6 15 chomp $username; 7 16 8 17 18 $URL = "https://svn.orxonox.net/orxonox/$source"; 19 $destination = "/scratch/$username\/orxonox/$source"; 20 9 21 mkdir ("/scratch/$username"); 10 22 mkdir ("/scratch/$username\/orxonox"); 11 23 24 print("Checking out ORXONOX from '$URL' to '$destination'\n"); 12 25 13 open(SVN_CO, "svn co https://svn.orxonox.net/orxonox/trunk /scratch/$username\/orxonox/trunk |"); 26 27 open(SVN_CO, "svn co $URL $destination |"); 14 28 while(<SVN_CO>){ 15 print $_;29 print $_; 16 30 } 17 31 18 chdir(" /scratch/$username\/orxonox/trunk");32 chdir("$destination"); 19 33 20 34 21 print "executing autogen.sh ";35 print "executing autogen.sh\n"; 22 36 open( AUTOGEN , "./autogen.sh |"); 23 37 while(<AUTOGEN>){ … … 25 39 } 26 40 27 print "executing configure for tardis ";41 print "executing configure for tardis\n"; 28 42 open(CONFIGURE, "./configure --with-tardis |"); 29 43 while(<CONFIGURE>){ 30 44 printf $_; 31 45 } 46 47 print ("Executing make with opts -j3\n"); 32 48 open(MAKE, "make -j3|"); 33 49 while(<MAKE>) { 34 50 print $_; 35 51 } 52 printf("Finished checking out '$URL' to '$destination'\n"); 36 53
Note: See TracChangeset
for help on using the changeset viewer.