From 4f64f8438043ec4ba1d828513e0295eeca0f0d0f Mon Sep 17 00:00:00 2001 From: chenzhikai <895543892@qq.com> Date: Sat, 23 Dec 2023 14:53:53 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=BC=96=E8=AF=91=E8=84=9A?= =?UTF-8?q?=E6=9C=AC=EF=BC=8C-pkg=E7=BC=96=E8=AF=91=E5=A4=B1=E8=B4=A5?= =?UTF-8?q?=E4=B8=8D=E4=BC=9A=E7=BB=A7=E7=BB=AD=E6=89=93=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index be4350c73..d63abe354 100755 --- a/build.sh +++ b/build.sh @@ -88,8 +88,13 @@ echo "ROOT_DIR : $ROOT_DIR" cd build/script chmod a+x build_opengauss.sh ./build_opengauss.sh -m ${build_version_mode} -3rd ${build_binarylib_dir} ${not_optimized} -pkg server -pm ${product_mode} -if [ "${wrap_binaries}"X = "YES"X ] -then + +if [ $? -ne 0 ]; then + echo "build_opengauss.sh failed, aborting." + exit 1 +fi + +if [ "${wrap_binaries}"X = "YES"X ]; then chmod a+x package_opengauss.sh if [ X$config_file = "X" ];then ./package_opengauss.sh -3rd ${build_binarylib_dir} -m ${build_version_mode} -pm ${product_mode}