Merge "Fix how we update requirements.txt"

This commit is contained in:
Jenkins 2016-03-03 15:43:06 +00:00 committed by Gerrit Code Review
commit 4a3382e7c7

View File

@ -135,6 +135,8 @@ for repo in $(grep 'git_repo\:' ${SERVICE_FILE}); do
done
unset IFS
# Finally, update the PIP_INSTALL_OPTIONS with the current versions of pip, wheel and setuptools
PIP_CURRENT_OPTIONS=$(./scripts/get-pypi-pkg-version.py -p pip setuptools wheel -l horizontal)
sed -i.bak "s|^PIP_INSTALL_OPTIONS=.*|PIP_INSTALL_OPTIONS=\$\{PIP_INSTALL_OPTIONS:-'${PIP_CURRENT_OPTIONS}'\}|" scripts/scripts-library.sh