Skip to content

Commit

Permalink
[7.3.0] chore: Ignore shellcheck error in copy-paste code (bazelbuild…
Browse files Browse the repository at this point in the history
…#22678)

This piece of code is supposed to be copy-pasted literally, so it is
better to already configure shellcheck ignore to help users who apply
shellcheck to their scripts.

Closes bazelbuild#22530.

PiperOrigin-RevId: 641178789
Change-Id: I4ea3629f57e66996fca5768cea73497cda29eb16

Commit
bazelbuild@b75ad88

Co-authored-by: Honnix <honnix@users.noreply.github.com>
  • Loading branch information
bazel-io and honnix authored Jun 10, 2024
1 parent 241a192 commit 6f0e04c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/bash/runfiles/runfiles.bash
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
# # --- begin runfiles.bash initialization v3 ---
# # Copy-pasted from the Bazel Bash runfiles library v3.
# set -uo pipefail; set +e; f=bazel_tools/tools/bash/runfiles/runfiles.bash
# # shellcheck disable=SC1090
# source "${RUNFILES_DIR:-/dev/null}/$f" 2>/dev/null || \
# source "$(grep -sm1 "^$f " "${RUNFILES_MANIFEST_FILE:-/dev/null}" | cut -f2- -d' ')" 2>/dev/null || \
# source "$0.runfiles/$f" 2>/dev/null || \
Expand Down

0 comments on commit 6f0e04c

Please sign in to comment.