summaryrefslogtreecommitdiff
path: root/tools/docker_rbclient/runclient_modified.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/docker_rbclient/runclient_modified.sh')
-rw-r--r--tools/docker_rbclient/runclient_modified.sh33
1 files changed, 33 insertions, 0 deletions
diff --git a/tools/docker_rbclient/runclient_modified.sh b/tools/docker_rbclient/runclient_modified.sh
new file mode 100644
index 0000000000..7688291314
--- /dev/null
+++ b/tools/docker_rbclient/runclient_modified.sh
@@ -0,0 +1,33 @@
1#!/bin/sh
2trap "exit" INT
3
4USER=$1
5PASS=$2
6NAME=$3
7ARCHLIST=arm-eabi-gcc444,arm-rb-gcc494,sh,m68k-gcc452,mipsel-gcc494,mipsel-rb-gcc494,sdl,latex
8
9while true
10do
11 if [ -f "rbclient.pl.new" ]; then
12 mv "rbclient.pl.new" "rbclient.pl"
13 fi
14 # Possible values for archlist are:
15
16 # arm-eabi-gcc444 : needed for ARM-based traditional targets
17 # arm-rb-gcc494 : linux based sony players, Samsung YP-R0 YP-R1
18 # sh : SH-based players, i.e. the Archoses
19 # m68k-gcc452 : coldfire-based players
20 # mipsel-gcc494 : MIPS-based players
21 # mipsel-rb-gcc494: linux based MIPS players i.e Agptek Rocker (Benjie T6)
22 # sdl : Non-crosscompiled targets. Simulators, application, checkwps, database tool, ...
23 # android16 : Android port
24 # latex : manuual
25
26 perl -s rbclient.pl -username=$USER -password=$PASS -clientname=$NAME -archlist=$ARCHLIST -buildmaster=buildmaster.rockbox.org -port=19999
27 res=$?
28 if test "$res" -eq 22; then
29 echo "Address the above issue(s), then restart!"
30 exit
31 fi
32 sleep 30
33done