8000 fix: lazy fetch checksums for toolchains (#648) · lapointexavier/rules_python@afb319b · GitHub
[go: up one dir, main page]

Skip to content

Commit afb319b

Browse files
authored
fix: lazy fetch checksums for toolchains (bazel-contrib#648)
Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
1 parent bed8c1b commit afb319b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

python/versions.bzl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,13 @@ def print_toolchains_checksums(name):
122122
srcs = [],
123123
outs = ["print_toolchains_checksums.sh"],
124124
cmd = """\
125-
cat > "$@" <<EOF
125+
cat > "$@" <<'EOF'
126126
#!/bin/bash
127127
128128
set -o errexit -o nounset -o pipefail
129129
130+
echo "Fetching hashes..."
131+
130132
{commands}
131133
EOF
132134
""".format(

0 commit comments

Comments
 (0)
0