Browse code

Merge "Fixed detection of a project in projects.txt"

Jenkins authored on 2015/07/07 03:22:33
Showing 1 changed files
... ...
@@ -203,7 +203,7 @@ function setup_develop {
203 203
 function is_in_projects_txt {
204 204
     local project_dir=$1
205 205
     local project_name=$(basename $project_dir)
206
-    return grep "/$project_name\$" $REQUIREMENTS_DIR/projects.txt >/dev/null
206
+    grep -q "/$project_name\$" $REQUIREMENTS_DIR/projects.txt
207 207
 }
208 208
 
209 209
 # ``pip install -e`` the package, which processes the dependencies