[microdecision] Syntax fix for ./ynh-dev test dependencies (#25)

This commit is contained in:
Alexandre Aubin 2017-04-30 18:55:59 +02:00 committed by GitHub
parent 686f11cf23
commit b0912a4098

View file

@ -326,7 +326,7 @@ elif [ "$1" = "test" ]; then
PIP_DEPENDENCIES="pytest-mock requests-mock"
for DEP in $PIP_DEPENDENCIES
do
if [ -z `pip show $DEP` ]; then
if [ -z "$(pip show $DEP)" ]; then
echo "======================="
echo "Installing $DEP with pip"
echo "======================="