Remove unneeded and no longer working "master." prefix from launch.sh on macOS.
@@ -30,14 +30,11 @@ retry=1
while (( $retry != 0 )); do
retry=0
rm -f slave.jar slave-agent.jnlp
- curl -qo slave.jar http://master.ci${staging}.bazel.build/jnlpJars/slave.jar || retry=1
- curl -qo slave-agent.jnlp http://master.ci${staging}.bazel.build/computer/$(cat $HOME/node_name)/slave-agent.jnlp || retry=1
+ curl -qo slave.jar http://ci${staging}.bazel.build/jnlpJars/slave.jar || retry=1
+ curl -qo slave-agent.jnlp http://ci${staging}.bazel.build/computer/$(cat $HOME/node_name)/slave-agent.jnlp || retry=1
sleep 5
done
-sed -E -i.bak 's|https?://(ci(-staging)?\.bazel\.build)|http://master.\1|g' slave-agent.jnlp
-rm -f slave-agent.jnlp.bak
-
export ANDROID_SDK_PATH=$(echo $HOME/android-sdk-*)
export ANDROID_NDK_PATH=$(echo $HOME/android-ndk-*)
export ANDROID_SDK_BUILD_TOOLS_VERSION=$(ls $ANDROID_SDK_PATH/build-tools | sort -n | tail -1)
