/[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.14 by slords, Sat Dec 2 17:19:10 2006 UTC Revision 1.18 by slords, Sat Apr 14 21:21:22 2007 UTC
# Line 26  check_package() Line 26  check_package()
26          openssl)          openssl)
27              build_package "--arch i386,i586,i686"              build_package "--arch i386,i586,i686"
28              ;;              ;;
29          kernel-module-*|kmod-*|ipp2p)          kmod-*)
30              build_package "--arch i586,i686"              build_package "--arch i586,i686"
31              ;;              ;;
32          *)          *)
# Line 37  check_package() Line 37  check_package()
37    
38  build_package()  build_package()
39  {  {
40      if mzbuild $1 --specfile $SPEC >> $LOG 2>&1      if LANG=en_US mzbuild $1 --specfile $SPEC >> $LOG 2>&1
41      then      then
42          release_rpms *.rpm          release_rpms *.rpm
43      else      else
# Line 45  build_package() Line 45  build_package()
45      fi      fi
46  }  }
47    
48  for package in $(ls /builds/cvsroot/smeserver | grep "^$1.*$")  for package in $(ls /mirrors/cvsroot/smeserver | grep "^$1.*$")
49  do  do
50      case $package in      case $package in
51          CVSROOT|anaconda|builds_bin|cdrom.image|devguide|isolinux)          CVSROOT|anaconda|booty|builds_bin|cdrom.image|devguide|isolinux)
52                  continue                  continue
53                  ;;                  ;;
54      esac      esac
# Line 62  do Line 62  do
62    
63      cd ~/work      cd ~/work
64      rm -rf ~/work/$package      rm -rf ~/work/$package
65      mzget --dir /builds/cvsroot/smeserver $package >> $LOG      mzget --dir /mirrors/cvsroot/smeserver $package >> $LOG
66    
67      cd ~/work/$package      cd ~/work/$package
68    
# Line 70  do Line 70  do
70      if [ -z "$SPEC" ]      if [ -z "$SPEC" ]
71      then      then
72          echo "Not building $package (No SPEC file)"          echo "Not building $package (No SPEC file)"
73            rm -f $LOG
74          continue          continue
75      else      else
76          TAGS=$(cvs status -v $SPEC | awk '/\(revision:/{ print $1 }' | sort -u)          TAGS=$(cvs status -v $SPEC | awk '/\(branch:/ && !/\(branch: 1\.1\.1\)/ { print $1 }' | sort -u)
77      fi      fi
78      check_package      check_package
79    
# Line 85  do Line 86  do
86          echo ========================================================== >> $LOG          echo ========================================================== >> $LOG
87          cd ~/work          cd ~/work
88          rm -rf ~/work/$package          rm -rf ~/work/$package
89          mzget --dir /builds/cvsroot/smeserver --tag $tag $package >> $LOG          mzget --dir /mirrors/cvsroot/smeserver --tag $tag $package >> $LOG
90    
91          cd ~/work/$package          cd ~/work/$package
92    


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