- Timestamp:
- Aug 18, 2003, 3:34:39 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/technical/common/build/buildall.pl
r628 r660 2 2 # automatisches buildskript fuer smartclient 3 3 # liest die konfiguration aus der mit -b übergebenen Datei 4 # $Id: buildall.pl,v 1.1 7 2002/10/18 08:37:46joergs Exp $4 # $Id: buildall.pl,v 1.18 2003/08/18 13:34:39 joergs Exp $ 5 5 # Philipp Storz, SuSE Linux AG 6 6 # pstorz@suse.de … … 33 33 #my $smartclient_root="/home/joergs/projects/smartclient/stuttgarter-versicherung/technical/"; 34 34 #$workdir=""; 35 36 my $DEST_DIR="/tmp/smartclient_build/"; 37 35 38 36 39 my $build = "build.sh"; … … 85 88 if ($answer ne "y") {die("canceled")}; 86 89 90 $ENV{'DEST_DIR'}=$DEST_DIR; 91 87 92 my $mypath; 88 93 for my $i (0 .. $#ArrayofBuilds) … … 105 110 print "$_ \n"; 106 111 tr/\//\_/; 107 my $logfilename = "/tmp/smartclient_build/$_.$ArrayofBuilds[$i][1].log"; 112 `mkdir -p $DEST_DIR`; 113 my $logfilename = "$DEST_DIR/$_$ArrayofBuilds[$i][1].log"; 108 114 109 115 my $build_cmd="cd $mypath && $build"; … … 128 134 print "executing build command:\n"; 129 135 print "$build_cmd\n"; 130 print "you can watch building with following command: \n";131 print "less +F $logfilename\n\n";132 136 133 my $do_log = open( LOG_FD, ">$logfilename" ) || print "could not open logfile $logfilename"; 137 my $do_log = open( LOG_FD, ">$logfilename" ); 138 if( $do_log ) { 139 print "you can watch building with following command: \n"; 140 print "less +F $logfilename\n\n"; 141 } else { 142 print "could not open logfile $logfilename\n"; 143 } 134 144 open( PIPE, "$build_cmd 2>&1 |" ); 135 145 while( <PIPE> ) {
Note:
See TracChangeset
for help on using the changeset viewer.