Skip to content

Commit ce420aa

Browse files
committed
Update syntax error in bash script regarding LD_LIBRARY_PATH
See: apache/cloudberry#1624
1 parent 9a4b49d commit ce420aa

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

docs/deployment/configure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The `configure` command sets up the build environment for Apache Cloudberry. Thi
3030

3131
```bash
3232
cd ~/cloudberry
33-
export LD_LIBRARY_PATH=/usr/local/cloudberry-db/lib:LD_LIBRARY_PATH
33+
export LD_LIBRARY_PATH=/usr/local/cloudberry-db/lib:${LD_LIBRARY_PATH:-""}
3434
./configure --prefix=/usr/local/cloudberry-db \
3535
--disable-external-fts \
3636
--enable-gpcloud \

docs/deployment/quick-build.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ sudo chown -R gpadmin:gpadmin /usr/local/cloudberry-db
137137

138138
# Run configure
139139
cd ~/cloudberry
140-
export LD_LIBRARY_PATH=/usr/local/cloudberry-db/lib:LD_LIBRARY_PATH
140+
export LD_LIBRARY_PATH=/usr/local/cloudberry-db/lib:${LD_LIBRARY_PATH:-""}
141141
./configure --prefix=/usr/local/cloudberry-db \
142142
--disable-external-fts \
143143
--enable-gpcloud \

versioned_docs/version-2.x/deployment/configure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The `configure` command sets up the build environment for Apache Cloudberry. Thi
3030

3131
```bash
3232
cd ~/cloudberry
33-
export LD_LIBRARY_PATH=/usr/local/cloudberry-db/lib:LD_LIBRARY_PATH
33+
export LD_LIBRARY_PATH=/usr/local/cloudberry-db/lib:${LD_LIBRARY_PATH:-""}
3434
./configure --prefix=/usr/local/cloudberry-db \
3535
--disable-external-fts \
3636
--enable-gpcloud \

versioned_docs/version-2.x/deployment/quick-build.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ sudo chown -R gpadmin:gpadmin /usr/local/cloudberry-db
145145

146146
# Run configure
147147
cd ~/cloudberry
148-
export LD_LIBRARY_PATH=/usr/local/cloudberry-db/lib:LD_LIBRARY_PATH
148+
export LD_LIBRARY_PATH=/usr/local/cloudberry-db/lib:${LD_LIBRARY_PATH:-""}
149149
./configure --prefix=/usr/local/cloudberry-db \
150150
--disable-external-fts \
151151
--enable-gpcloud \
@@ -326,7 +326,7 @@ sudo chown -R gpadmin:gpadmin /usr/local/cloudberry-db
326326

327327
# Run configure
328328
cd ~/cloudberry
329-
export LD_LIBRARY_PATH=/usr/local/cloudberry-db/lib:LD_LIBRARY_PATH
329+
export LD_LIBRARY_PATH=/usr/local/cloudberry-db/lib:${LD_LIBRARY_PATH:-""}
330330
./configure --prefix=/usr/local/cloudberry-db \
331331
--disable-external-fts \
332332
--enable-gpcloud \

0 commit comments

Comments
 (0)