Skip to content

Commit 60226ca

Browse files
committedAug 1, 2019
Fix typo in configure.sh from last change
PiperOrigin-RevId: 260833759
1 parent 635b3b7 commit 60226ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎oss_scripts/configure.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function write_action_env_to_bazelrc() {
2525
if python -c "import tensorflow" &> /dev/null; then
2626
echo 'using installed tensorflow'
2727
else
28-
pip install tensorflow-1.14.0
28+
pip install tensorflow==1.14.0
2929
fi
3030

3131
TF_CFLAGS=( $(python -c 'import tensorflow as tf; print(" ".join(tf.sysconfig.get_compile_flags()))') )
@@ -34,4 +34,4 @@ TF_LFLAGS2=( $(python -c 'import tensorflow as tf; print(" ".join(tf.sysconfig.g
3434

3535
write_action_env_to_bazelrc "TF_HEADER_DIR" ${TF_CFLAGS:2}
3636
write_action_env_to_bazelrc "TF_SHARED_LIBRARY_DIR" ${TF_LFLAGS:2}
37-
write_action_env_to_bazelrc "TF_SHARED_LIBRARY" ${TF_LFLAGS:3}
37+
write_action_env_to_bazelrc "TF_SHARED_LIBRARY" ${TF_LFLAGS2:3}

0 commit comments

Comments
 (0)
Please sign in to comment.