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) |
65 |
|
|
66 |
cd ~/work/$(hostname -s) |
cd ~/work/$(hostname -s) |
67 |
rm -rf ~/work/$(hostname -s)/$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/$(hostname -s)/$package |
cd ~/work/$(hostname -s)/$package |
71 |
|
|
89 |
echo ========================================================== >> $LOG |
echo ========================================================== >> $LOG |
90 |
cd ~/work/$(hostname -s) |
cd ~/work/$(hostname -s) |
91 |
rm -rf ~/work/$(hostname -s)/$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/$(hostname -s)/$package |
cd ~/work/$(hostname -s)/$package |
95 |
|
|