diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-05-13 05:05:41 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-05-13 05:05:41 +0800 |
commit | 1f989f68601be5b49660e735f119168128563b2d (patch) | |
tree | 797e168fd48785dbc499b5374608da793310450b /src/epiphany.in | |
parent | 7ccf7782479a1cbdfb8cec2353edf1bb56e2bab1 (diff) | |
download | gsoc2013-epiphany-1f989f68601be5b49660e735f119168128563b2d.tar gsoc2013-epiphany-1f989f68601be5b49660e735f119168128563b2d.tar.gz gsoc2013-epiphany-1f989f68601be5b49660e735f119168128563b2d.tar.bz2 gsoc2013-epiphany-1f989f68601be5b49660e735f119168128563b2d.tar.lz gsoc2013-epiphany-1f989f68601be5b49660e735f119168128563b2d.tar.xz gsoc2013-epiphany-1f989f68601be5b49660e735f119168128563b2d.tar.zst gsoc2013-epiphany-1f989f68601be5b49660e735f119168128563b2d.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.
Diffstat (limited to 'src/epiphany.in')
-rw-r--r-- | src/epiphany.in | 6 |
1 files changed, 5 insertions, 1 deletions
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 |