Contents of /trunk/mage-buildserver/queue-list.sh
Parent Directory | Revision Log
Revision 2866 -
(show annotations)
(download)
(as text)
Sat Feb 14 11:48:47 2015 UTC (9 years, 3 months ago) by niro
File MIME type: application/x-sh
File size: 337 byte(s)
Sat Feb 14 11:48:47 2015 UTC (9 years, 3 months ago) by niro
File MIME type: application/x-sh
File size: 337 byte(s)
-fixed whitespaces
1 | #!/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 | if [ ! -d ${QUEUEDIR} ] |
9 | then |
10 | die "'${QUEUEDIR} missing" |
11 | fi |
12 | |
13 | for entry in $(find ${QUEUEDIR} -mindepth 1 -printf '%f\n' | sort -V) |
14 | do |
15 | echo -e " ${entry}\t$(< ${QUEUEDIR}/${entry})" |
16 | done |
Properties
Name | Value |
---|---|
svn:executable | * |