From ea962425295264d3e6349ce76d6763a5a4a68c5e Mon Sep 17 00:00:00 2001 From: flynn Date: Thu, 27 Jan 2022 10:33:08 +0800 Subject: [PATCH] [chore] add set -e to download_thirdparty.sh (#7867) Let the build process stop immediately if some command execute failed. For example, patch failed due to command not found, otherwise it will stop until compile error. --- thirdparty/download-thirdparty.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thirdparty/download-thirdparty.sh b/thirdparty/download-thirdparty.sh index bd5f65d1e5..ef294e7413 100755 --- a/thirdparty/download-thirdparty.sh +++ b/thirdparty/download-thirdparty.sh @@ -16,7 +16,7 @@ # specific language governing permissions and limitations # under the License. -#set -e +set -e ################################################################ # This script will download all thirdparties and java libraries # which are defined in *vars.sh*, unpack patch them if necessary.