Browse code

neutron_thirdparty/ryu: Ignore comments in pip-requires

The latest version of ryu has comments in its tools/pip-requires.
Strip them before feeding to pip_install.

Closes-Bug: #1433896
Change-Id: I73edb1397cae12d816fa514ddf045bacf0714a96

YAMAMOTO Takashi authored on 2015/03/19 15:19:35
Showing 1 changed files
... ...
@@ -58,7 +58,7 @@ function install_ryu {
58 58
     if [[ "$_RYU_INSTALLED" == "False" ]]; then
59 59
         git_clone $RYU_REPO $RYU_DIR $RYU_BRANCH
60 60
         export PYTHONPATH=$RYU_DIR:$PYTHONPATH
61
-        pip_install $(cat $RYU_DIR/tools/pip-requires)
61
+        pip_install -r $RYU_DIR/tools/pip-requires
62 62
         _RYU_INSTALLED=True
63 63
     fi
64 64
 }