Parent Directory | Revision Log | Revision Graph
Added build_all
1 | gordonr | 1.1 | #!/bin/sh |
2 | |||
3 | cd /mirrors/mitel/devel/repo/SRPMS | ||
4 | |||
5 | FAILED="" | ||
6 | |||
7 | for file in e-smith* | ||
8 | do | ||
9 | if [ -f /builds/rpms/SRPMS/$file ] | ||
10 | then | ||
11 | echo "Already built: $file" | ||
12 | continue | ||
13 | fi | ||
14 | |||
15 | echo "Building: $file" | ||
16 | if rpmbuild --rebuild $file | ||
17 | then | ||
18 | cp -p $file /builds/rpms/SRPMS | ||
19 | else | ||
20 | echo "FAILED: $file" | ||
21 | FAILED="$FAILED $file" | ||
22 | fi | ||
23 | done | ||
24 | |||
25 | echo "Failed to build: $FAILED" |
admin@koozali.org | ViewVC Help |
Powered by ViewVC 1.2.1 |