aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure.py
diff options
context:
space:
mode:
Diffstat (limited to 'configure.py')
-rw-r--r--configure.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.py b/configure.py
index fecca405c7..df2c74d23d 100644
--- a/configure.py
+++ b/configure.py
@@ -251,7 +251,7 @@ def reset_tf_configure_bazelrc():
if not os.path.exists('.bazelrc'):
if os.path.exists(os.path.join(home, '.bazelrc')):
with open('.bazelrc', 'a') as f:
- f.write('import %s/.bazelrc\n' % home)
+ f.write('import %s/.bazelrc\n' % home.replace('\\', '/'))
else:
open('.bazelrc', 'w').close()