Annotation of /trunk/mage-buildserver/queue-list.sh
Parent Directory | Revision Log
Revision 2866 -
(hide annotations)
(download)
(as text)
Sat Feb 14 11:48:47 2015 UTC (9 years, 4 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, 4 months ago) by niro
File MIME type: application/x-sh
File size: 337 byte(s)
-fixed whitespaces
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 | 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 | niro | 2866 | echo -e " ${entry}\t$(< ${QUEUEDIR}/${entry})" |
16 | niro | 2862 | done |
Properties
Name | Value |
---|---|
svn:executable | * |