forked from huawei/openGauss-server
修复打包后version.cfg错误的问题
This commit is contained in:
parent
590b0f8ebe
commit
76d923ba2b
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in New Issue