abuild: .. but silence only errors, not output
fixes previous commit
This commit is contained in:
parent
ff37770904
commit
69b3e82296
|
@ -827,7 +827,7 @@ postcheck() {
|
|||
# look for pycache
|
||||
# wildcard should always get the system python dir, and this is faster than
|
||||
# trying to calculate the python version.
|
||||
local pycache="$(find "$dir"/usr/lib/python* \( -type d -a -name "__pycache__" \) >/dev/null 2>&1 )"
|
||||
local pycache="$(find "$dir"/usr/lib/python* \( -type d -a -name "__pycache__" \) 2>/dev/null )"
|
||||
if [ -n "$pycache" ] && [ "${name%-pyc}" = "$name" ]; then
|
||||
warning "Found __pycache__ but package name doesn't end with -pyc"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue