abuild: .. but silence only errors, not output

fixes previous commit
This commit is contained in:
psykose 2023-04-19 13:27:51 +00:00
parent ff37770904
commit 69b3e82296
1 changed files with 1 additions and 1 deletions

View File

@ -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