File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,16 +30,29 @@ function initInstaller(){
3030 rm ./$MODULE_FOLDER /*
3131}
3232
33+ $MODE_EXTENDED =" extended"
34+ $MODE_JDK =" jdk"
35+
3336# Init
3437initInstaller
3538runModule utilities 0
3639
40+ CREDENTIAL=" "
41+ if [ " $1 " == " $MODE_JDK " ]; then
42+ CREDENTIAL = $2
43+ runModule copy-jdk
44+ exit 0
45+ fi
46+
3747runModule platform
3848runModule java
3949
4050exit
4151
52+ if [ " $1 " == " $MODE_EXTENDED " ]; then
53+ runModule native-libraries
54+ fi
55+
4256runModule battery-monitor
43- runModule native-libraries
4457
4558exit 0
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ if [ -e " /home/robot/ejdk-8-fcs-b132-linux-arm-sflt-03_mar_2014.tar.gz" ]; then
4+ scp " /home/robot/ejdk-8-fcs-b132-linux-arm-sflt-03_mar_2014.tar.gz" $CREDENTIAL :/home/robot
5+ else
6+ echo " Sorry, the installer didn´t detect ejdk-8-fcs-b132-linux-arm-sflt-03_mar_2014.tar.gz"
7+ echo " on /home/robot"
8+ echo " try to copy the file again to the EV3 Brick."
9+ echo
10+ exit 1
11+ fi
You can’t perform that action at this time.
0 commit comments