Contents of /trunk/mage-buildserver/buildserver-enter.sh
Parent Directory | Revision Log
Revision 2727 -
(show annotations)
(download)
(as text)
Sun Aug 10 19:29:27 2014 UTC (10 years, 1 month ago) by niro
File MIME type: application/x-sh
File size: 363 byte(s)
Sun Aug 10 19:29:27 2014 UTC (10 years, 1 month ago) by niro
File MIME type: application/x-sh
File size: 363 byte(s)
-let the use override the default enter cmd
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 | RUNARCH="$1" |
10 | CMD="$2" |
11 | |
12 | if [[ -z ${RUNARCH} ]] |
13 | then |
14 | echo "No arch given." |
15 | exit 1 |
16 | fi |
17 | |
18 | [[ -z ${CMD} ]] && CMD="/bin/sh" |
19 | |
20 | runarch "${RUNARCH}" "${CMD}" || die "${RUNARCH} enter" |
Properties
Name | Value |
---|---|
svn:executable | * |