-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathCoji.sh
More file actions
executable file
·44 lines (31 loc) · 1.11 KB
/
Coji.sh
File metadata and controls
executable file
·44 lines (31 loc) · 1.11 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
#!/bin/sh
set -x
# =============================================================================
# Variables
# =============================================================================
. ~/CodeLabs/Hochob/Main.sh
export COJI_PID=$$
export COJI_PATH=$(readlink -f "$0")
export COJI_DIRECTORY=$(dirname "$COJI_PATH")
# =============================================================================
# Functions
# =============================================================================
# None
# =============================================================================
# Main
# =============================================================================
AmikooVoice.sh english \
"Hello World. I can speak English. One, Two, Three."
sleep 5
AmikooVoice.sh spanish \
"Hola Mundo. Puedo hablar Español. Uno, Dos, Tres."
sleep 5
LOCAL_LANGUAGE=`Language.sh`
if [ "$LOCAL_LANGUAGE" = "english" ]; then
AmikooVoice.sh $LOCAL_LANGUAGE \
"Hello World. I can speak English. One, Two, Three."
else
AmikooVoice.sh $LOCAL_LANGUAGE \
"Hola Mundo. Puedo hablar Español. Uno, Dos, Tres."
fi
# End of File