Skip to content

Commit 8edcf7d

Browse files
shreyashubseanpmorgan
authored andcommitted
Added install prompt in config (#120)
* Added prompt before install
1 parent 4fe9d5f commit 8edcf7d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

configure.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ function write_action_env_to_bazelrc() {
3535
}
3636

3737
[[ -f .bazelrc ]] && rm .bazelrc
38+
read -r -p "Tensorflow will be upgraded to 2.0. Are You Sure? [Y/n] " reply
39+
case $reply in
40+
[yY]*) echo "Installing...";;
41+
* ) echo "Goodbye!"; exit;;
42+
esac
3843
pip install $QUIET_FLAG -r requirements.txt
3944

4045
TF_CFLAGS=( $(python -c 'import tensorflow as tf; print(" ".join(tf.sysconfig.get_compile_flags()))') )

0 commit comments

Comments
 (0)