Annotation of /trunk/mage-buildserver/buildserver-enter.sh
Parent Directory | Revision Log
Revision 2836 -
(hide annotations)
(download)
(as text)
Fri Sep 19 13:01:29 2014 UTC (9 years, 8 months ago) by niro
File MIME type: application/x-sh
File size: 365 byte(s)
Fri Sep 19 13:01:29 2014 UTC (9 years, 8 months ago) by niro
File MIME type: application/x-sh
File size: 365 byte(s)
-using bash as login shell
1 | niro | 2725 | #!/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 | RUNARCH="$1" | ||
10 | niro | 2727 | CMD="$2" |
11 | |||
12 | niro | 2726 | if [[ -z ${RUNARCH} ]] |
13 | then | ||
14 | echo "No arch given." | ||
15 | exit 1 | ||
16 | fi | ||
17 | niro | 2725 | |
18 | niro | 2836 | [[ -z ${CMD} ]] && CMD="/bin/bash" |
19 | niro | 2727 | |
20 | runarch "${RUNARCH}" "${CMD}" || die "${RUNARCH} enter" |
Properties
Name | Value |
---|---|
svn:executable | * |