-
Notifications
You must be signed in to change notification settings - Fork 1
/
run.sh
executable file
·41 lines (40 loc) · 956 Bytes
/
run.sh
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
#!/bin/bash
# Runscript Selector
options=("No Option Original" "No Option Custom" "Elmo Original" "Elmo Custom" "Clean All" "Clean Original" "Clean Custom" "Quit")
select opt in "${options[@]}"
do
case $opt in
"No Option Original")
./OriginalBuild.sh 01
break
;;
"No Option Custom")
./CustomBuild.sh 01
break
;;
"Elmo Original")
./OriginalBuild.sh 01 "-l ELMO"
break
;;
"Elmo Custom")
./CustomBuild.sh 01 "-l ELMO"
break
;;
"Quit")
break
;;
"Clean All")
rm -rf ./Workspace/Output/Original/* ./Workspace/Output/Custom/*
break
;;
"Clean Original")
rm -rf ./Workspace/Output/Original/*
break
;;
"Clean Custom")
rm -rf ./Workspace/Output/Custom/*
break
;;
*) echo "invalid option $REPLY";;
esac
done