Skip to content

Commit 2ba4a72

Browse files
Ihar Hrachyshkafungi
authored andcommitted
Fixed detection of a project in projects.txt
Before the fix, requirements soft-update was used for projects that are in the file. Change-Id: I095d42521f54b45a6b13837e2f8375fa04532faa Closes-Bug: #1469067
1 parent c782781 commit 2ba4a72

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎inc/python‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ function setup_develop {
195195
function is_in_projects_txt {
196196
local project_dir=$1
197197
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
199199
}
200200

201201
# ``pip install -e`` the package, which processes the dependencies

0 commit comments

Comments
 (0)