调整编译脚本,-pkg编译失败不会继续打包
This commit is contained in:
9
build.sh
9
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}
|
||||
|
||||
Reference in New Issue
Block a user