Contents of /trunk/mage-buildserver/buildserver-svn.sh
Parent Directory | Revision Log
Revision 3114 -
(show annotations)
(download)
(as text)
Wed Mar 20 15:29:31 2019 UTC (5 years, 1 month ago) by niro
File MIME type: application/x-sh
File size: 734 byte(s)
Wed Mar 20 15:29:31 2019 UTC (5 years, 1 month ago) by niro
File MIME type: application/x-sh
File size: 734 byte(s)
-fixed typos
1 | #!/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 | install -d ${BUILDROOT}/svn |
10 | install -d ${BUILDROOT}/.stamps |
11 | |
12 | if [ -d ${BUILDROOT}/svn/mage/.svn ] |
13 | then |
14 | svn update ${BUILDROOT}/svn/mage || die "svn update mage" |
15 | else |
16 | svn checkout "${MAGE_SVN_REPO}" ${BUILDROOT}/svn/mage || die "svn checkout mage" |
17 | fi |
18 | touch ${BUILDROOT}/.stamps/mage_svn-checkout-ok |
19 | |
20 | if [ -d ${BUILDROOT}/svn/smage/.svn ] |
21 | then |
22 | svn update ${BUILDROOT}/svn/smage || die "svn update smage" |
23 | else |
24 | svn checkout "${SMAGE_SVN_REPO}" ${BUILDROOT}/svn/smage || die "svn checkout smage" |
25 | fi |
26 | touch ${BUILDROOT}/.stamps/smage_svn-checkout-ok |
Properties
Name | Value |
---|---|
svn:executable | * |