Skip to content

Commit 57688fa

Browse files
author
Dandelion Mané
authored
Merge pull request tensorflow#8249 from dimpavloff/busybox-sed-compat
use sed separator compatible with busybox sed
2 parents 6a28d42 + 3e6d4cf commit 57688fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/python/python_config.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ function setup_python {
181181
# Write tools/bazel.rc
182182
echo "# Autogenerated by configure: DO NOT EDIT" > tools/bazel.rc
183183
sed -e "s/\$PYTHON_MAJOR_VERSION/$python_major_version/g" \
184-
-e "s[\$PYTHON_BINARY[\"$PYTHON_BIN_PATH\"[g" \
184+
-e "s|\$PYTHON_BINARY|\"$PYTHON_BIN_PATH\"|g" \
185185
tools/bazel.rc.template >> tools/bazel.rc
186186
# Write tools/python_bin_path.sh
187187
echo "export PYTHON_BIN_PATH=\"$PYTHON_BIN_PATH\"" > tools/python_bin_path.sh

0 commit comments

Comments
 (0)