Skip to content

Commit

Permalink
build_slider: Make the BUILD_CONFIG message consistent
Browse files Browse the repository at this point in the history
The old way this error was handled is no longer consistent with the way
multiline error messages are done in build_slider.sh and excessively
verbose. Change this.

Bug: 184667897
Signed-off-by: J. Avila <[email protected]>
Change-Id: I375fb69f3d744859a6de9b1d43efdd2b85d941f5
  • Loading branch information
J. Avila committed Apr 30, 2021
1 parent 05fb778 commit 54b3d09
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions build_slider.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,7 @@ if [ -n "${BUILD_ABI}" ]; then
fi

if [ -n "${BUILD_CONFIG}" ]; then
err_msg="setting BUILD_CONFIG is not supported for $0
usage: $0
See build.sh for supported configs"
exit_if_error 1 "${err_msg}"
exit_if_error 1 "BUILD_CONFIG is not supported for $0"
fi

if [ "${BUILD_KERNEL}" = "0" -a "${EXPERIMENTAL_BUILD}" != "0" ]; then
Expand Down

0 comments on commit 54b3d09

Please sign in to comment.