/[smeserver]/builds_bin/build_all
ViewVC logotype

Diff of /builds_bin/build_all

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by gordonr, Fri Nov 18 06:43:11 2005 UTC Revision 1.2 by gordonr, Fri Jan 27 01:44:33 2006 UTC
# Line 1  Line 1 
1  #!/bin/sh  #!/bin/bash
2    # Build all locally maintained packages from CVS
3    # Check whether anything is new and let us know if there is
4    
5  cd /mirrors/mitel/devel/repo/SRPMS  # Normally run as "buildrobot"
6    # Requires CVS/SSH access to cvs.sourceforge.net:/cvsroot/smeserver
7    
8  FAILED=""  cd ~/work
9    
10  for file in e-smith*  for package in $(cat modules)
11  do  do
12      if [ -f /builds/rpms/SRPMS/$file ]      case $package in
13      then          SMEServer*) ;;
14          echo "Already built: $file"  
15          continue          e-smith*) ;;
16      fi  
17            smeserver*) ;;
18      echo "Building: $file"  
     if rpmbuild --rebuild $file  
     then  
         cp -p $file /builds/rpms/SRPMS  
     else  
         echo "FAILED: $file"  
         FAILED="$FAILED $file"  
     fi  
 done  
19    
20  echo "Failed to build: $FAILED"          *) echo "Skipping $package"
21               continue
22               ;;
23        esac
24    
25        [ -d $package ] || mzget $package
26    
27        (
28            cd $package
29            mzsync
30            mzbuild
31        )
32    done


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed