This is an automated email from the ASF dual-hosted git repository.

djwang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry-site.git


The following commit(s) were added to refs/heads/main by this push:
     new c839d9925b Update syntax error in bash script regarding LD_LIBRARY_PATH
c839d9925b is described below

commit c839d9925bed41a9308561e3ce10da6172d9766d
Author: Dianjin Wang <[email protected]>
AuthorDate: Tue Mar 31 10:46:49 2026 +0800

    Update syntax error in bash script regarding LD_LIBRARY_PATH
    
    See: https://github.com/apache/cloudberry/pull/1624
---
 docs/deployment/configure.md                         | 2 +-
 docs/deployment/quick-build.md                       | 2 +-
 versioned_docs/version-2.x/deployment/configure.md   | 2 +-
 versioned_docs/version-2.x/deployment/quick-build.md | 4 ++--
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/docs/deployment/configure.md b/docs/deployment/configure.md
index 4cb1d5c11a..2753499285 100644
--- a/docs/deployment/configure.md
+++ b/docs/deployment/configure.md
@@ -30,7 +30,7 @@ The `configure` command sets up the build environment for 
Apache Cloudberry. Thi
 
 ```bash
 cd ~/cloudberry
-export LD_LIBRARY_PATH=/usr/local/cloudberry-db/lib:LD_LIBRARY_PATH
+export LD_LIBRARY_PATH=/usr/local/cloudberry-db/lib:${LD_LIBRARY_PATH:-""}
 ./configure --prefix=/usr/local/cloudberry-db \
             --disable-external-fts \
             --enable-gpcloud \
diff --git a/docs/deployment/quick-build.md b/docs/deployment/quick-build.md
index ccd57eb0c6..e951a52753 100644
--- a/docs/deployment/quick-build.md
+++ b/docs/deployment/quick-build.md
@@ -137,7 +137,7 @@ sudo chown -R gpadmin:gpadmin /usr/local/cloudberry-db
 
 # Run configure
 cd ~/cloudberry
-export LD_LIBRARY_PATH=/usr/local/cloudberry-db/lib:LD_LIBRARY_PATH
+export LD_LIBRARY_PATH=/usr/local/cloudberry-db/lib:${LD_LIBRARY_PATH:-""}
 ./configure --prefix=/usr/local/cloudberry-db \
             --disable-external-fts \
             --enable-gpcloud \
diff --git a/versioned_docs/version-2.x/deployment/configure.md 
b/versioned_docs/version-2.x/deployment/configure.md
index e0c12c4308..60a734d312 100644
--- a/versioned_docs/version-2.x/deployment/configure.md
+++ b/versioned_docs/version-2.x/deployment/configure.md
@@ -30,7 +30,7 @@ The `configure` command sets up the build environment for 
Apache Cloudberry. Thi
 
 ```bash
 cd ~/cloudberry
-export LD_LIBRARY_PATH=/usr/local/cloudberry-db/lib:LD_LIBRARY_PATH
+export LD_LIBRARY_PATH=/usr/local/cloudberry-db/lib:${LD_LIBRARY_PATH:-""}
 ./configure --prefix=/usr/local/cloudberry-db \
             --disable-external-fts \
             --enable-gpcloud \
diff --git a/versioned_docs/version-2.x/deployment/quick-build.md 
b/versioned_docs/version-2.x/deployment/quick-build.md
index e4da26dc0e..a2df5d47c4 100644
--- a/versioned_docs/version-2.x/deployment/quick-build.md
+++ b/versioned_docs/version-2.x/deployment/quick-build.md
@@ -145,7 +145,7 @@ sudo chown -R gpadmin:gpadmin /usr/local/cloudberry-db
 
 # Run configure
 cd ~/cloudberry
-export LD_LIBRARY_PATH=/usr/local/cloudberry-db/lib:LD_LIBRARY_PATH
+export LD_LIBRARY_PATH=/usr/local/cloudberry-db/lib:${LD_LIBRARY_PATH:-""}
 ./configure --prefix=/usr/local/cloudberry-db \
             --disable-external-fts \
             --enable-gpcloud \
@@ -326,7 +326,7 @@ sudo chown -R gpadmin:gpadmin /usr/local/cloudberry-db
 
 # Run configure
 cd ~/cloudberry
-export LD_LIBRARY_PATH=/usr/local/cloudberry-db/lib:LD_LIBRARY_PATH
+export LD_LIBRARY_PATH=/usr/local/cloudberry-db/lib:${LD_LIBRARY_PATH:-""}
 ./configure --prefix=/usr/local/cloudberry-db \
             --disable-external-fts \
             --enable-gpcloud \


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to