Before the fix, requirements soft-update was used for projects that are
in the file.
Change-Id: I095d42521f54b45a6b13837e2f8375fa04532faa
Closes-Bug: #1469067
| ... | ... |
@@ -195,7 +195,7 @@ function setup_develop {
|
| 195 | 195 |
function is_in_projects_txt {
|
| 196 | 196 |
local project_dir=$1 |
| 197 | 197 |
local project_name=$(basename $project_dir) |
| 198 |
- return grep "/$project_name\$" $REQUIREMENTS_DIR/projects.txt >/dev/null |
|
| 198 |
+ grep -q "/$project_name\$" $REQUIREMENTS_DIR/projects.txt |
|
| 199 | 199 |
} |
| 200 | 200 |
|
| 201 | 201 |
# ``pip install -e`` the package, which processes the dependencies |