From 2ba4a7214c96542987e1c379a28765a242136b12 Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Fri, 26 Jun 2015 10:45:44 +0200 Subject: [PATCH] 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 --- inc/python | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/python b/inc/python index 07a811e8c3..9a7cea0a07 100644 --- a/inc/python +++ b/inc/python @@ -195,7 +195,7 @@ function setup_develop { function is_in_projects_txt { local project_dir=$1 local project_name=$(basename $project_dir) - return grep "/$project_name\$" $REQUIREMENTS_DIR/projects.txt >/dev/null + grep -q "/$project_name\$" $REQUIREMENTS_DIR/projects.txt } # ``pip install -e`` the package, which processes the dependencies