Merge "Fix update_upper_constraints removing additional ' ' char"

This commit is contained in:
Jenkins 2016-09-05 06:15:09 +00:00 committed by Gerrit Code Review
commit 2a89d5a2d4

View File

@ -81,7 +81,7 @@ function update_upper_constraints {
echo "Updating tox.ini for upper-constraints"
git checkout $branch
sed -i~ -e "s,-c.*{\(env:UPPER_CONSTRAINTS_FILE\)[^ ]*} ,-c{\1:$uc_url}," tox.ini
sed -i~ -e "s,-c.*{\(env:UPPER_CONSTRAINTS_FILE\)[^ ]*},-c{\1:$uc_url}," tox.ini
if ! git diff --exit-code >/dev/null 2>&1 ; then
git add tox.ini
git commit -m "Update UPPER_CONSTRAINTS_FILE for $branch"