Fix lib_installed_from_git

In commit f0cd9a8b08 we changed to
use column format, but it checks for zero length string and
check_libs_from_git fails.

Change-Id: I97b52b80efb33749647229a55147a08afa112dd2
This commit is contained in:
rabi 2017-11-22 08:14:29 +05:30
parent c19d0cbb27
commit b5fb7fd627
1 changed files with 1 additions and 1 deletions

View File

@ -419,7 +419,7 @@ function lib_installed_from_git {
# bashate 0.5.2.dev19 /tmp/env/src/bashate
# Thus we check the third column to see if we're installed from
# some local place.
[[ -z $(pip list --format=columns 2>/dev/null | awk "/^$name/ {print \$3}") ]]
[[ -n $(pip list --format=columns 2>/dev/null | awk "/^$name/ {print \$3}") ]]
}
# check that everything that's in LIBS_FROM_GIT was actually installed