/[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.19 by slords, Fri Apr 27 21:32:05 2007 UTC Revision 1.21 by slords, Wed May 9 15:19:59 2007 UTC
# Line 48  build_package() Line 48  build_package()
48      fi      fi
49  }  }
50    
51  for package in $(ls /mirrors/cvsroot/smeserver | grep "^$1.*$")  for package in $(ls /mirrors/cvsroot/${2:-smeserver} | grep "^$1.*$")
52  do  do
53      case $package in      case $package in
54          CVSROOT|anaconda|booty|builds_bin|cdrom.image|devguide|isolinux)          CVSROOT|anaconda|booty|builds_bin|cdrom.image|devguide|isolinux)
# Line 56  do Line 56  do
56                  ;;                  ;;
57      esac      esac
58    
59      LOG=$HOME/logs/$package.log      LOG=$HOME/work/$(hostname -s)/logs/$package.log
60      > $LOG      > $LOG
61    
62      echo -n "Checking $package "; date      echo -n "Checking $package "; date
63      (echo -n "Checking $package "; date) >> $LOG      (echo -n "Checking $package "; date) >> $LOG
64      echo ========================================================== >> $LOG      echo ========================================================== >> $LOG
65    
66      cd ~/work      cd ~/work/$(hostname -s)
67      rm -rf ~/work/$package      rm -rf ~/work/$(hostname -s)/$package
68      mzget --dir /mirrors/cvsroot/smeserver $package >> $LOG      mzget --dir /mirrors/cvsroot/${2:-smeserver} $package >> $LOG
69    
70      cd ~/work/$package      cd ~/work/$(hostname -s)/$package
71    
72      SPEC=$(ls F/*.spec 2> /dev/null | tail -1)      SPEC=$(ls F/*.spec 2> /dev/null | tail -1)
73      if [ -z "$SPEC" ]      if [ -z "$SPEC" ]
# Line 87  do Line 87  do
87          echo -n "Checking $package ($tag) "; date          echo -n "Checking $package ($tag) "; date
88          (echo -n "Checking $package ($tag) "; date) >> $LOG          (echo -n "Checking $package ($tag) "; date) >> $LOG
89          echo ========================================================== >> $LOG          echo ========================================================== >> $LOG
90          cd ~/work          cd ~/work/$(hostname -s)
91          rm -rf ~/work/$package          rm -rf ~/work/$(hostname -s)/$package
92          mzget --dir /mirrors/cvsroot/smeserver --tag $tag $package >> $LOG          mzget --dir /mirrors/cvsroot/${2:-smeserver} --tag $tag $package >> $LOG
93    
94          cd ~/work/$package          cd ~/work/$(hostname -s)/$package
95    
96          SPEC=$(ls F/*.spec 2> /dev/null | tail -1)          SPEC=$(ls F/*.spec 2> /dev/null | tail -1)
97          if [ -z "$SPEC" ]          if [ -z "$SPEC" ]


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