#!/bin/bash # Build all locally maintained packages from CVS # Check whether anything is new and let us know if there is # Normally run as "buildrobot" # Requires CVS/SSH access to cvs.sourceforge.net:/cvsroot/smeserver cd ~/work for package in $(cat modules) do case $package in SMEServer*) ;; e-smith*) ;; smeserver*) ;; *) echo "Skipping $package" continue ;; esac build_it $package done build_it() { package=$1 [ -d $package ] || mzget $package ( cd $package mzsync mzbuild /builds/bin/release_rpms *.rpm ) }