Skip to content

Commit 3383b07

Browse files
committed
more logging
1 parent a62afa6 commit 3383b07

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

tool/github.sh

+6-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# Fast fail the script on failures.
88
set -e
99

10-
echo "\$JAVA_HOME=$JAVA_HOME"
10+
echo "JAVA_HOME=$JAVA_HOME"
1111

1212
# Clone and configure Flutter to the latest stable release
1313
git clone --depth 1 https://github.com/flutter/flutter.git ../flutter
@@ -16,7 +16,7 @@ flutter config --no-analytics
1616
flutter doctor
1717
export FLUTTER_SDK=`pwd`/../flutter
1818

19-
echo "\$IDEA_VERSION = $IDEA_VERSION"
19+
echo "IDEA_VERSION = $IDEA_VERSION"
2020
if [ "$IDEA_VERSION" = "4.0" -o "$IDEA_VERSION" = "4.1" ] ; then
2121

2222
# Install Java 8 if running on 4.0 or 4.1.
@@ -27,7 +27,10 @@ if [ "$IDEA_VERSION" = "4.0" -o "$IDEA_VERSION" = "4.1" ] ; then
2727

2828
fi
2929

30-
java -version
30+
echo "Installed versions of java:"
31+
/usr/libexec/java_home -V
32+
echo "java --version"
33+
java --version
3134

3235
# Get packages for the top-level grind script utilities.
3336
echo "pub get `pwd`"

tool/kokoro/setup.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,13 @@ setup() {
1212
# Set to 0 to use the system java, 1 to download/install a different version of java
1313
export USE_CUSTOM_JAVA=0
1414

15+
echo "Installed versions of java:"
16+
/usr/libexec/java_home -V
1517
echo "System Java version:"
1618
java --version
1719
# JAVA_HOME_OLD is used by runner.dart
1820
export JAVA_HOME_OLD=$JAVA_HOME
19-
echo "\$JAVA_HOME_OLD=$JAVA_HOME"
21+
echo "export JAVA_HOME_OLD=$JAVA_HOME"
2022

2123
if [ "$USE_CUSTOM_JAVA" = 1 ] ; then
2224
echo "curl https://download.oracle.com/java/17/archive/jdk-17.0.4.1_macos-x64_bin.tar.gz > ../java.tar.gz"

0 commit comments

Comments
 (0)