diff options
Diffstat (limited to 'configure.py')
-rw-r--r-- | configure.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/configure.py b/configure.py index 55fce8b93b..129d9c5fe7 100644 --- a/configure.py +++ b/configure.py @@ -257,11 +257,7 @@ def reset_tf_configure_bazelrc(workspace_path): if _TF_BAZELRC_FILENAME in l: continue f.write('%s\n' % l) - if is_windows(): - tf_bazelrc_path = _TF_BAZELRC.replace('\\', '/') - else: - tf_bazelrc_path = _TF_BAZELRC - f.write('import %s\n' % tf_bazelrc_path) + f.write('import %%workspace%%/%s\n' % _TF_BAZELRC_FILENAME) def cleanup_makefile(): |