We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1192fa commit 56a40a3Copy full SHA for 56a40a3
foreign_cc/private/framework/toolchains/macos_commands.bzl
@@ -261,7 +261,7 @@ def replace_symlink(file):
261
# as `readlink` is.
262
return """\
263
if [[ -L "{file}" ]]; then
264
- target="$(python3 -c "import os; print(os.path.realpath('{file}'))")"
+ target="$(realpath '{file}')"
265
rm "{file}" && cp -a "${{target}}" "{file}"
266
fi
267
""".format(file = file)
0 commit comments