summaryrefslogtreecommitdiffstats
path: root/tools/docker_rbclient/runclient_modified.sh
blob: 768829131460c3a3497aa198d8e820450e19bcfd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/sh
trap "exit" INT

USER=$1
PASS=$2
NAME=$3
ARCHLIST=arm-eabi-gcc444,arm-rb-gcc494,sh,m68k-gcc452,mipsel-gcc494,mipsel-rb-gcc494,sdl,latex

while true
do
    if [ -f "rbclient.pl.new" ]; then
        mv "rbclient.pl.new" "rbclient.pl"
    fi
    # Possible values for archlist are:

    # arm-eabi-gcc444 : needed for ARM-based traditional targets
    # arm-rb-gcc494   : linux based sony players, Samsung YP-R0 YP-R1
    # sh : SH-based players, i.e. the Archoses
    # m68k-gcc452 : coldfire-based players
    # mipsel-gcc494 : MIPS-based players
    # mipsel-rb-gcc494: linux based MIPS players i.e Agptek Rocker (Benjie T6)
    # sdl : Non-crosscompiled targets. Simulators, application, checkwps, database tool, ...
    # android16 : Android port
    # latex : manuual

    perl -s rbclient.pl -username=$USER -password=$PASS -clientname=$NAME -archlist=$ARCHLIST -buildmaster=buildmaster.rockbox.org -port=19999
    res=$?
    if test "$res" -eq 22; then
      echo "Address the above issue(s), then restart!"
      exit
    fi
    sleep 30
done