-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathrun_team.sh
More file actions
executable file
·56 lines (43 loc) · 1.4 KB
/
run_team.sh
File metadata and controls
executable file
·56 lines (43 loc) · 1.4 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#!/bin/sh
team=$1
log_dir=$2
left=$3
right=$4
out=${log_dir}${team}_in_${left}_${right}.log
if [[ $1 = *"cyrus"* ]]; then
cd /home/nader/Desktop/bins/remotecup1/major/final/c2 && ./start.sh &> $out
fi
if [[ $1 = *"razi"* ]]; then
cd /home/nader/Desktop/bins/remotecup2/bins/razi && ./startAll &> $out
# cd razi && ./startAll &> $out
fi
if [[ $1 = *"oxsy"* ]]; then
cd /home/nader/Desktop/bins/remotecup2/bins/oxsy && ./startlocal &> $out
fi
if [[ $1 = *"fra"* ]]; then
cd /home/nader/Desktop/bins/remotecup2/bins/fra && ./start_team.sh &> $out
fi
if [[ $1 = *"fcp"* ]]; then
cd /home/nader/Desktop/bins/remotecup2/bins/fcp/src && ./start.sh &> $out
fi
if [[ $1 = *"rione"* ]]; then
cd /home/nader/Desktop/bins/remotecup2/bins/rione && ./local-start.sh &> $out
fi
if [[ $1 = *"yushan"* ]]; then
cd /home/nader/Desktop/bins/remotecup2/bins/yushan && ./start.sh &> $out
fi
if [[ $1 = *"kn2c"* ]]; then
cd /home/nader/Desktop/bins/remotecup2/bins/kn2c && ./startAll &> $out
fi
if [[ $1 = *"opu"* ]]; then
cd /home/nader/Desktop/bins/remotecup2/bins/opu && ./start.sh &> $out
fi
if [[ $1 = *"dml"* ]]; then
cd /home/nader/Desktop/bins/remotecup2/bins/dml && ./start.sh &> $out
fi
if [[ $1 = *"helios"* ]]; then
cd /home/nader/Desktop/bins/remotecup2/bins/helios && ./startAll &> $out
fi
if [[ $1 = *"itandroids"* ]]; then
cd /home/nader/Desktop/bins/remotecup2/bins/itandroids && ./startAll &> $out
fi