Annotation of /trunk/mage-buildserver/buildserver-upgrade.sh
Parent Directory | Revision Log
Revision 2781 -
(hide annotations)
(download)
(as text)
Thu Aug 28 09:21:00 2014 UTC (10 years ago) by niro
File MIME type: application/x-sh
File size: 521 byte(s)
Thu Aug 28 09:21:00 2014 UTC (10 years ago) by niro
File MIME type: application/x-sh
File size: 521 byte(s)
-removed commented cruft
1 | niro | 2588 | #!/bin/bash |
2 | |||
3 | # get configuration | ||
4 | BUILDSERVER_CONFIG_DIR="/etc/mage-buildserver" | ||
5 | source ${BUILDSERVER_CONFIG_DIR}/buildserver.conf | ||
6 | |||
7 | source ${BUILDSERVER_LIB_DIR}/buildserver-functions.sh | ||
8 | |||
9 | niro | 2746 | for arch in src ${BUILD_ARCH[*]} |
10 | niro | 2588 | do |
11 | if [ -f ${BUILDROOT}/.stamps/${arch}_bootstrap-ok ] | ||
12 | then | ||
13 | runarch "${arch}" mage upgrade || die "${arch} upgrade" | ||
14 | else | ||
15 | echo "Warning: No buildroot for arch '${arch}' bootstrapped. Doing nothing" | ||
16 | fi | ||
17 | done | ||
18 | niro | 2746 | |
19 | # regen mage-tree for all arches | ||
20 | ${BUILDSERVER_LIB_DIR}/buildserver-setup-mage-tree.sh |
Properties
Name | Value |
---|---|
svn:executable | * |