We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ff0b54 commit c4af0f6Copy full SHA for c4af0f6
configure.sh
@@ -39,9 +39,9 @@ function generate_shared_lib_name() {
39
fi
40
}
41
42
-QUIET_FLAG=""
+PIP_INSTALL_OPTS="--upgrade"
43
if [[ $1 == "--quiet" ]]; then
44
- QUIET_FLAG="--quiet"
+ PIP_INSTALL_OPTS="$PIP_INSTALL_OPTS --quiet"
45
elif [[ ! -z "$1" ]]; then
46
echo "Found unsupported args: $@"
47
exit 1
@@ -57,7 +57,7 @@ esac
57
BUILD_DEPS_DIR=build_deps
58
REQUIREMENTS_TXT=$BUILD_DEPS_DIR/requirements.txt
59
60
-${PYTHON_VERSION:=python} -m pip install $QUIET_FLAG -r $REQUIREMENTS_TXT
+${PYTHON_VERSION:=python} -m pip install $PIP_INSTALL_OPTS -r $REQUIREMENTS_TXT
61
62
[[ -f .bazelrc ]] && rm .bazelrc
63
0 commit comments