From acbf19f2b304633890aeb8705f6269f45c30d987 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Wed, 12 May 2004 21:07:25 +0000 Subject: Make sure we don't add a colon at the end of LD_LIBRARY_PATH, which will 2004-05-12 Christian Persch * src/epiphany.in: Make sure we don't add a colon at the end of LD_LIBRARY_PATH, which will make LD_LIBRARY_PATH include the current directory. Should fix bug #141576. --- ChangeLog | 8 ++++++++ src/epiphany.in | 6 +++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index abdc46306..11c65fe90 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2004-05-12 Christian Persch + + * src/epiphany.in: + + Make sure we don't add a colon at the end of LD_LIBRARY_PATH, + which will make LD_LIBRARY_PATH include the current directory. + Should fix bug #141576. + 2004-05-11 Christian Persch * lib/ephy-dialog.c: (set_combo_box_from_value): diff --git a/src/epiphany.in b/src/epiphany.in index b0d6ae181..3aad0baaf 100644 --- a/src/epiphany.in +++ b/src/epiphany.in @@ -22,7 +22,11 @@ if [ ! -d $HOME/.gnome2/epiphany/mozilla/epiphany -a -d $HOME/.galeon/mozilla/ga || : fi -LD_LIBRARY_PATH=$MOZILLA_HOME:$LD_LIBRARY_PATH +if [ -n "$LD_LIBRARY_PATH" ]; then + LD_LIBRARY_PATH=$MOZILLA_HOME:$LD_LIBRARY_PATH +else + LD_LIBRARY_PATH=$MOZILLA_HOME +fi export LD_LIBRARY_PATH MOZILLA_FIVE_HOME=$MOZILLA_HOME -- cgit v1.2.3