Skip to content

Commit 56a40a3

Browse files
authored
fix: remove system dependency on python3 (#1415)
1 parent c1192fa commit 56a40a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

foreign_cc/private/framework/toolchains/macos_commands.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def replace_symlink(file):
261261
# as `readlink` is.
262262
return """\
263263
if [[ -L "{file}" ]]; then
264-
target="$(python3 -c "import os; print(os.path.realpath('{file}'))")"
264+
target="$(realpath '{file}')"
265265
rm "{file}" && cp -a "${{target}}" "{file}"
266266
fi
267267
""".format(file = file)

0 commit comments

Comments
 (0)