Ignore:
Timestamp:
Nov 21, 2004, 9:00:02 PM (19 years ago)
Author:
joergs
Message:

reduced the number of uses directories
buildall and build now uses the same dest directory
added comments
code cleanup
checks if rpm is already available in current release

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/technical/common/build/buildall.pl

    r687 r694  
    2929
    3030# Pfad, zu dem die Pfade in buildlist stehen
    31 my $smartclient_root="../../";   
    32 
    33 my $BUILD_DEST_DIR="/tmp/smartclient_build/";
     31my $src_root="../../";   
     32
     33
     34my $BUILD_DEST_DIR="/tmp/build.$ENV{'USER'}/";
    3435my $INSTALL_SRC_SKEL_DIR="/net/dist/data/dist/sles/8/skeleton-i386/smartclient/";
    3536
     
    102103  {
    103104  print("$ArrayofBuilds[$i][0]\t\t$ArrayofBuilds[$i][1]\t\t$ArrayofBuilds[$i][2]\n");
    104   $mypath = $smartclient_root.$ArrayofBuilds[$i][0];
     105  $mypath = $src_root.$ArrayofBuilds[$i][0];
    105106
    106107  if ($ArrayofBuilds[$i][2])
     
    119120  tr/\//\_/;
    120121  `mkdir -p $BUILD_DEST_DIR`;
    121   my $logfilename = "$BUILD_DEST_DIR/$_$ArrayofBuilds[$i][1].log";
     122  `mkdir -p $BUILD_DEST_DIR/log`;
     123  my $logfilename = "$BUILD_DEST_DIR/log/$_$ArrayofBuilds[$i][1].log";
    122124
    123125  my $build_cmd="cd $mypath && $build";
Note: See TracChangeset for help on using the changeset viewer.