Parent Directory | Revision Log | Revision Graph
And release RPMs - should check status
1 | gordonr | 1.2 | #!/bin/bash |
2 | # Build all locally maintained packages from CVS | ||
3 | # Check whether anything is new and let us know if there is | ||
4 | gordonr | 1.1 | |
5 | gordonr | 1.2 | # Normally run as "buildrobot" |
6 | # Requires CVS/SSH access to cvs.sourceforge.net:/cvsroot/smeserver | ||
7 | gordonr | 1.1 | |
8 | gordonr | 1.2 | cd ~/work |
9 | gordonr | 1.1 | |
10 | gordonr | 1.2 | for package in $(cat modules) |
11 | gordonr | 1.1 | do |
12 | gordonr | 1.2 | case $package in |
13 | SMEServer*) ;; | ||
14 | |||
15 | e-smith*) ;; | ||
16 | |||
17 | smeserver*) ;; | ||
18 | |||
19 | |||
20 | *) echo "Skipping $package" | ||
21 | continue | ||
22 | ;; | ||
23 | esac | ||
24 | |||
25 | gordonr | 1.3 | build_it $package |
26 | done | ||
27 | |||
28 | build_it() | ||
29 | { | ||
30 | package=$1 | ||
31 | |||
32 | gordonr | 1.2 | [ -d $package ] || mzget $package |
33 | |||
34 | ( | ||
35 | cd $package | ||
36 | mzsync | ||
37 | mzbuild | ||
38 | gordonr | 1.3 | |
39 | /builds/bin/release_rpms *.rpm | ||
40 | gordonr | 1.2 | ) |
41 | gordonr | 1.3 | } |
admin@koozali.org | ViewVC Help |
Powered by ViewVC 1.2.1 |