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:
parent
c19d0cbb27
commit
b5fb7fd627
@ -419,7 +419,7 @@ function lib_installed_from_git {
|
|||||||
# bashate 0.5.2.dev19 /tmp/env/src/bashate
|
# bashate 0.5.2.dev19 /tmp/env/src/bashate
|
||||||
# Thus we check the third column to see if we're installed from
|
# Thus we check the third column to see if we're installed from
|
||||||
# some local place.
|
# 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
|
# check that everything that's in LIBS_FROM_GIT was actually installed
|
||||||
|
Loading…
Reference in New Issue
Block a user