From 76d923ba2b8696970eba0f6201213ab8d9da782f Mon Sep 17 00:00:00 2001 From: zhang_xubo <2578876417@qq.com> Date: Mon, 11 Oct 2021 11:56:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=89=93=E5=8C=85=E5=90=8Eve?= =?UTF-8?q?rsion.cfg=E9=94=99=E8=AF=AF=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/script/package_opengauss.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/script/package_opengauss.sh b/build/script/package_opengauss.sh index fd36ac247..f6447b28b 100755 --- a/build/script/package_opengauss.sh +++ b/build/script/package_opengauss.sh @@ -296,7 +296,7 @@ function install_gaussdb() export PATH=${BUILD_DIR}:$PATH export LD_LIBRARY_PATH=${BUILD_DIR}/lib:$LD_LIBRARY_PATH - commitid=$(LD_PRELOAD='' ${BUILD_DIR}/bin/gaussdb -V | awk '{print $6}' | cut -d ")" -f 1) + commitid=$(LD_PRELOAD='' ${BUILD_DIR}/bin/gaussdb -V | awk '{print $5}' | cut -d ")" -f 1) if [ -z "$commitid" ] then commitid=$(date "+%Y%m%d%H%M%S")