Annotation of /trunk/mage-buildserver/buildserver-enter.sh
Parent Directory | Revision Log
Revision 2726 -
(hide annotations)
(download)
(as text)
Sun Aug 10 19:27:52 2014 UTC (9 years, 9 months ago) by niro
File MIME type: application/x-sh
File size: 318 byte(s)
Sun Aug 10 19:27:52 2014 UTC (9 years, 9 months ago) by niro
File MIME type: application/x-sh
File size: 318 byte(s)
-exit if no arch was given
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 | 2726 | if [[ -z ${RUNARCH} ]] |
11 | then | ||
12 | echo "No arch given." | ||
13 | exit 1 | ||
14 | fi | ||
15 | niro | 2725 | |
16 | runarch "${RUNARCH}" /bin/sh || die "${RUNARCH} enter" |
Properties
Name | Value |
---|---|
svn:executable | * |