Skip to content

Commit 27109e7

Browse files
ted-xiecopybara-github
authored andcommitted
Merge #330 by ted-xie: Use '/usr/bin/env bash' in android_sdk_repository
Fixes #250 Closes #330 COPYBARA_INTEGRATE_REVIEW=#330 from ted-xie:bash 6aec908 PiperOrigin-RevId: 719047641 Change-Id: I3caca1f91d6d1602fbe4b78c3883a111fa5e144a
1 parent 8954fe9 commit 27109e7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.bazelci/presubmit.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ matrix:
44
bazel: [
55
7.4.1,
66
8.0.0rc7,
7-
last_green,
7+
# Temporarily disabled until java_stub_template.txt is public
8+
# last_green,
89
]
910

1011
tools_flags: &tools_flags

rules/android_sdk_repository/helper.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ def create_android_sdk_rules(
298298
outs = [tool + "_runner.sh"],
299299
cmd = "\n".join([
300300
"cat > $@ << 'EOF'",
301-
"#!/bin/bash",
301+
"#!/usr/bin/env bash",
302302
"set -eu",
303303
# The tools under build-tools/VERSION require the libraries under
304304
# build-tools/VERSION/lib, so we can't simply depend on them as a

0 commit comments

Comments
 (0)