File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,12 @@ TMPDIR="${TMPDIR%/}"
99# Place downloaded tools outside the repository so it isn't filled with binaries
1010# Strip any trailing slash again at the join to be extra safe.
1111DOWNLOAD_DIR=" ${TMPDIR%/ } /codenameone-tools"
12+ log " The DOWNLOAD_DIR is ${DOWNLOAD_DIR} "
13+
1214ENV_DIR=" $DOWNLOAD_DIR /tools"
1315
16+ cat " $ENV_DIR /env.sh"
17+
1418if [ -f " $ENV_DIR /env.sh" ]; then
1519 source " $ENV_DIR /env.sh"
1620else
Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ mkdir -p ../cn1-binaries
2525CN1_BINARIES=" $( cd ../cn1-binaries && pwd -P) "
2626rm -Rf ../cn1-binaries
2727
28+ log " The DOWNLOAD_DIR is ${DOWNLOAD_DIR} "
29+
2830mkdir -p ~ /.codenameone
2931cp maven/CodeNameOneBuildClient.jar ~ /.codenameone
3032
@@ -148,6 +150,8 @@ export MAVEN_HOME="$MAVEN_HOME"
148150export PATH="\$ JAVA_HOME/bin:\$ MAVEN_HOME/bin:\$ PATH"
149151ENV
150152
153+ cat " $ENV_DIR /env.sh"
154+
151155# shellcheck disable=SC1090
152156source " $ENV_DIR /env.sh"
153157
You can’t perform that action at this time.
0 commit comments