Merge "Fix library runs."

This commit is contained in:
Jenkins 2015-07-06 01:54:01 +00:00 committed by Gerrit Code Review
commit c1427fb5fe

View File

@ -238,7 +238,9 @@ function setup_package_with_req_sync {
if [ -n "$REQUIREMENTS_DIR" ]; then
# Constrain this package to this project directory from here on out.
local name=$(awk '/^name.*=/ {print $3}' $project_dir/setup.cfg)
$REQUIREMENTS_DIR/.venv/bin/edit-constraints $REQUIREMENTS_DIR/upper-constraints.txt -- $name "$flags $project_dir"
$REQUIREMENTS_DIR/.venv/bin/edit-constraints \
$REQUIREMENTS_DIR/upper-constraints.txt -- $name \
"$flags file://$project_dir#egg=$name"
fi
setup_package $project_dir $flags