Changeset 611 for trunk/technical/common/build/build_srpms.pl
- Timestamp:
- Sep 17, 2002, 12:03:24 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/technical/common/build/build_srpms.pl
r610 r611 2 2 # automatisches buildskript fuer smartclient-sourcerpms 3 3 # liest die konfiguration aus der mit -b übergebenen Datei 4 # $Id: build_srpms.pl,v 1. 1 2002/09/17 09:50:20pstorz Exp $4 # $Id: build_srpms.pl,v 1.2 2002/09/17 10:03:24 pstorz Exp $ 5 5 # Philipp Storz, SuSE Linux AG 6 6 # pstorz@suse.de … … 14 14 15 15 16 # Programmoptionen: -b (buildlist) 16 # Programmoptionen: -b (buildlist) -x (xterm) 17 17 18 18 my $smartclient_root="../../"; # Pfad, zu dem die Pfade in buildlist stehen … … 20 20 our ($opt_b); 21 21 my @ArrayofBuilds; 22 getopts('b: ');22 getopts('b:x'); 23 23 24 24 if (!$opt_b) … … 28 28 print "other buildlist can be specified with -b buildlist\n\n"; 29 29 $opt_b = "buildlist_srpms"; 30 30 31 }; 31 32 … … 116 117 chomp $workdir; 117 118 print "less +F $workdir/$mypath/$logfilename\n"; 119 if ($opt_x) 120 { 118 121 system "xterm -T \"build log for PACKET: $mypath ARCH:$ArrayofBuilds[$i][1] \" -e less +F $workdir/$mypath/$logfilename &"; 119 122 print "++++++++++++++++++++++++++++++++++++++++++\n"; 120 123 $retval = system "cd $mypath; $build >$logfilename 2>&1;"; 124 } 125 else 126 { 127 $retval = system "cd $mypath; $build |tee $logfilename"; 128 } 121 129 # $retval = system "./exit.sh 2>&1 > $logfilename;"; 122 130
Note:
See TracChangeset
for help on using the changeset viewer.