Skip to content

Commit

Permalink
Merge #330 by ted-xie: Use '/usr/bin/env bash' in android_sdk_repository
Browse files Browse the repository at this point in the history
Fixes #250
Closes #330

COPYBARA_INTEGRATE_REVIEW=#330 from ted-xie:bash 6aec908
PiperOrigin-RevId: 719047641
Change-Id: I3caca1f91d6d1602fbe4b78c3883a111fa5e144a
  • Loading branch information
ted-xie authored and copybara-github committed Jan 24, 2025
1 parent 8954fe9 commit 27109e7
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .bazelci/presubmit.yml
Original file line number Diff line number Diff line change
@@ -4,7 +4,8 @@ matrix:
bazel: [
7.4.1,
8.0.0rc7,
last_green,
# Temporarily disabled until java_stub_template.txt is public
# last_green,
]

tools_flags: &tools_flags
2 changes: 1 addition & 1 deletion rules/android_sdk_repository/helper.bzl
Original file line number Diff line number Diff line change
@@ -298,7 +298,7 @@ def create_android_sdk_rules(
outs = [tool + "_runner.sh"],
cmd = "\n".join([
"cat > $@ << 'EOF'",
"#!/bin/bash",
"#!/usr/bin/env bash",
"set -eu",
# The tools under build-tools/VERSION require the libraries under
# build-tools/VERSION/lib, so we can't simply depend on them as a

0 comments on commit 27109e7

Please sign in to comment.