Magellan Linux

Contents of /trunk/mage-buildserver/buildserver-enter.sh

Parent Directory Parent Directory | Revision Log Revision Log


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

Properties

Name Value
svn:executable *