kzip build: pipe error message to stderr.

This was going to stdout so it wasn't showing up on build_error.log.

Test: n/a
Change-Id: I58ac08961b089d06720a307ece3398594b3456de
This commit is contained in:
Jingwen Chen
2023-07-04 07:49:03 +00:00
parent 222995b2c1
commit ce08efd395

View File

@@ -71,7 +71,7 @@ done
set +e
declare -r kzip_count=$(find "$out" -name '*.kzip' | wc -l)
(($kzip_count>100000)) || { printf "Too few kzip files were generated: %d\n" $kzip_count; exit 1; }
(($kzip_count>100000)) || { >&2 printf "ERROR: Too few kzip files were generated: %d\n" $kzip_count; exit 1; }
# Pack
declare -r allkzip="$KZIP_NAME.kzip"