/[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.20 by slords, Sat Apr 28 16:38:04 2007 UTC Revision 1.23 by slords, Tue Jun 12 14:56:43 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|builds_bin|cdrom.image|common|devguide|isolinux|rpms)
55                    cd ~/work/$(hostname -s)
56                    rm -rf ~/work/$(hostname -s)/$package
57                  continue                  continue
58                  ;;                  ;;
59      esac      esac
# Line 65  do Line 67  do
67    
68      cd ~/work/$(hostname -s)      cd ~/work/$(hostname -s)
69      rm -rf ~/work/$(hostname -s)/$package      rm -rf ~/work/$(hostname -s)/$package
70      mzget --dir /mirrors/cvsroot/smeserver $package >> $LOG      mzget --dir /mirrors/cvsroot/${2:-smeserver} $package >> $LOG
71    
72      cd ~/work/$(hostname -s)/$package      cd ~/work/$(hostname -s)/$package
73    
# Line 74  do Line 76  do
76      then      then
77          echo "Not building $package (No SPEC file)"          echo "Not building $package (No SPEC file)"
78          rm -f $LOG          rm -f $LOG
79            cd ~/work/$(hostname -s)
80            rm -rf ~/work/$(hostname -s)/$package
81          continue          continue
82      else      else
83          TAGS=$(cvs status -v $SPEC | awk '/\(branch:/ && !/\(branch: 1\.1\.1\)/ { print $1 }' | sort -u)          TAGS=$(cvs status -v $SPEC | awk '/\(branch:/ && !/\(branch: 1\.1\.1\)/ { print $1 }' | sort -u)
# Line 89  do Line 93  do
93          echo ========================================================== >> $LOG          echo ========================================================== >> $LOG
94          cd ~/work/$(hostname -s)          cd ~/work/$(hostname -s)
95          rm -rf ~/work/$(hostname -s)/$package          rm -rf ~/work/$(hostname -s)/$package
96          mzget --dir /mirrors/cvsroot/smeserver --tag $tag $package >> $LOG          mzget --dir /mirrors/cvsroot/${2:-smeserver} --tag $tag $package >> $LOG
97    
98          cd ~/work/$(hostname -s)/$package          cd ~/work/$(hostname -s)/$package
99    


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