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 |
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|booty|builds_bin|cdrom.image|devguide|isolinux) |
CVSROOT|anaconda|booty|builds_bin|cdrom.image|devguide|isolinux) |
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 |
|
|
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 |
|
|