Magellan Linux

Annotation of /trunk/mage-buildserver/queue-multiple-add.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2862 - (hide annotations) (download) (as text)
Wed Feb 11 12:39:18 2015 UTC (9 years, 3 months ago) by niro
File MIME type: application/x-sh
File size: 343 byte(s)
-added a initial queue progression functionality
1 niro 2862 #!/bin/bash
2    
3     die() { echo "error: $@"; exit 1; }
4    
5     BUILDSERVER_CONFIG_DIR="/etc/mage-buildserver"
6     source ${BUILDSERVER_CONFIG_DIR}/buildserver.conf
7    
8     [[ ${#@} -ge 1 ]] || die "No param given"
9    
10     for smage in ${@}
11     do
12     ${BUILDSERVER_LIB_DIR}/queue-add.sh "${smage}"
13     done
14    
15     # print list
16     echo
17     echo "Current queue:"
18     ${BUILDSERVER_LIB_DIR}/queue-list.sh

Properties

Name Value
svn:executable *