summaryrefslogtreecommitdiff
path: root/build_kzip.bash
diff options
context:
space:
mode:
author Jingwen Chen <jingwen@google.com> 2023-07-04 07:49:03 +0000
committer Jingwen Chen <jingwen@google.com> 2023-07-10 08:18:58 +0000
commitce08efd395a5d0cfc7907da9f034f761c5f9c879 (patch)
tree3543520aa0a5dd89cc35174bf2cd5e9ac1e0bd7f /build_kzip.bash
parent222995b2c1b3ab72899ae80add808d8467ea6a50 (diff)
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
Diffstat (limited to 'build_kzip.bash')
-rwxr-xr-xbuild_kzip.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_kzip.bash b/build_kzip.bash
index e2155a88a..4cca37d18 100755
--- a/build_kzip.bash
+++ b/build_kzip.bash
@@ -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"