aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-05-13 05:07:25 +0800
committerChristian Persch <chpe@src.gnome.org>2004-05-13 05:07:25 +0800
commitacbf19f2b304633890aeb8705f6269f45c30d987 (patch)
tree25f9b191d201740f6af9ee2aa238cd4add103a19
parentf67616c9152dc4fb052ee0996cb4a2371f577dd0 (diff)
downloadgsoc2013-epiphany-acbf19f2b304633890aeb8705f6269f45c30d987.tar
gsoc2013-epiphany-acbf19f2b304633890aeb8705f6269f45c30d987.tar.gz
gsoc2013-epiphany-acbf19f2b304633890aeb8705f6269f45c30d987.tar.bz2
gsoc2013-epiphany-acbf19f2b304633890aeb8705f6269f45c30d987.tar.lz
gsoc2013-epiphany-acbf19f2b304633890aeb8705f6269f45c30d987.tar.xz
gsoc2013-epiphany-acbf19f2b304633890aeb8705f6269f45c30d987.tar.zst
gsoc2013-epiphany-acbf19f2b304633890aeb8705f6269f45c30d987.zip
Make sure we don't add a colon at the end of LD_LIBRARY_PATH, which will
2004-05-12 Christian Persch <chpe@cvs.gnome.org> * 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.
-rw-r--r--ChangeLog8
-rw-r--r--src/epiphany.in6
2 files changed, 13 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index abdc46306..11c65fe90 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2004-05-12 Christian Persch <chpe@cvs.gnome.org>
+
+ * 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 <chpe@cvs.gnome.org>
* 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