Skip to content

Commit

Permalink
chore: Ignore shellcheck error in copy-paste code
Browse files Browse the repository at this point in the history
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
  • Loading branch information
honnix authored and Copybara-Service committed Jun 7, 2024
1 parent edb1ac7 commit b75ad88
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 b75ad88

Please sign in to comment.