Diff of /trunk/mage-buildserver/buildserver-functions.sh
Parent Directory | Revision Log | Patch
revision 2775 by niro, Thu Aug 28 09:10:04 2014 UTC | revision 2776 by niro, Thu Aug 28 09:10:55 2014 UTC | |
---|---|---|
# | Line 4 die() | Line 4 die() |
4 | exit 1 | exit 1 |
5 | } | } |
6 | ||
7 | os-arch() | |
8 | { | |
9 | local arch="$1" | |
10 | local os_arch | |
11 | ||
12 | case ${arch} in | |
13 | i*86|x86_64) os_arch="${arch}" ;; | |
14 | src|playground*) os_arch="$(source ${BUILDSERVER_CONFIG_DIR}/profiles/${BUILDROOT_PROFILE}/${arch}/mage.rc; echo ${ARCH})";; | |
15 | esac | |
16 | ||
17 | echo "${os_arch}" | |
18 | } | |
19 | ||
20 | runarch-script() | runarch-script() |
21 | { | { |
22 | local arch="$1" | local arch="$1" |
|