Skip to content

Commit 884d9cc

Browse files
committed
Added debugging logic
1 parent 665cd11 commit 884d9cc

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

scripts/build-android-port.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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.
1111
DOWNLOAD_DIR="${TMPDIR%/}/codenameone-tools"
12+
log "The DOWNLOAD_DIR is ${DOWNLOAD_DIR}"
13+
1214
ENV_DIR="$DOWNLOAD_DIR/tools"
1315

16+
cat "$ENV_DIR/env.sh"
17+
1418
if [ -f "$ENV_DIR/env.sh" ]; then
1519
source "$ENV_DIR/env.sh"
1620
else

scripts/setup-workspace.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ mkdir -p ../cn1-binaries
2525
CN1_BINARIES="$(cd ../cn1-binaries && pwd -P)"
2626
rm -Rf ../cn1-binaries
2727

28+
log "The DOWNLOAD_DIR is ${DOWNLOAD_DIR}"
29+
2830
mkdir -p ~/.codenameone
2931
cp maven/CodeNameOneBuildClient.jar ~/.codenameone
3032

@@ -148,6 +150,8 @@ export MAVEN_HOME="$MAVEN_HOME"
148150
export PATH="\$JAVA_HOME/bin:\$MAVEN_HOME/bin:\$PATH"
149151
ENV
150152

153+
cat "$ENV_DIR/env.sh"
154+
151155
# shellcheck disable=SC1090
152156
source "$ENV_DIR/env.sh"
153157

0 commit comments

Comments
 (0)