[icinga-checkins] icinga.org: icinga-core/mfriedrich/core: fix LD_LIBRARY_PATH export on non bash in idoutils init script #936

git at icinga.org git at icinga.org
Tue Nov 2 11:36:55 CET 2010


Module: icinga-core
Branch: mfriedrich/core
Commit: 497033acc3d51f407a505ed1db815399692a4c60
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=497033acc3d51f407a505ed1db815399692a4c60

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Tue Nov  2 11:16:32 2010 +0100

fix LD_LIBRARY_PATH export on non bash in idoutils init script #936

fixes #936

---

 Changelog    |    1 +
 rc.ido2db.in |    4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Changelog b/Changelog
index 044ce19..d78d6b6 100644
--- a/Changelog
+++ b/Changelog
@@ -12,6 +12,7 @@ FIXES
 * core: base/nebmods: Replace local file-copy hack with my_fdcopy() (Andreas Ericsson) #424
 * core: force my_free() macro users to end the statement with a semi-colon (Andreas Ericsson) #927
 
+* install: fix LD_LIBRARY_PATH export on non bash in idoutils init script #936
 
 1.2.1 - 25/10/2010
 
diff --git a/rc.ido2db.in b/rc.ido2db.in
index 9ebeb39..c92dbb2 100644
--- a/rc.ido2db.in
+++ b/rc.ido2db.in
@@ -113,8 +113,8 @@ Ido2dbUser=@icinga_user@
 Ido2dbGroup=@icinga_grp@
 
 #add ocilib lib path to link at runtime if enabled
-LD_LIBRARY_PATH=@ido2db_runtime@
-export LD_LIBRARY_PATH=$LD_LIBRARY_PATH
+LD_LIBRARY_PATH=$LD_LIBRARY_PATH:@ido2db_runtime@
+export LD_LIBRARY_PATH
 
 # Check that ido2db exists.
 if [ ! -f $Ido2dbBin ]; then





More information about the icinga-checkins mailing list