diff options
author | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-04-13 06:55:04 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-04-13 06:55:04 +0800 |
commit | 665391b5a7a6a10ec84bf042c505776b9a4b039d (patch) | |
tree | 9bbc63ce0074274cb122ba734f029994ffc56c87 /src/epiphany.in | |
parent | c3caa86f98d9468a719de3a208bcad696e133804 (diff) | |
download | gsoc2013-epiphany-665391b5a7a6a10ec84bf042c505776b9a4b039d.tar gsoc2013-epiphany-665391b5a7a6a10ec84bf042c505776b9a4b039d.tar.gz gsoc2013-epiphany-665391b5a7a6a10ec84bf042c505776b9a4b039d.tar.bz2 gsoc2013-epiphany-665391b5a7a6a10ec84bf042c505776b9a4b039d.tar.lz gsoc2013-epiphany-665391b5a7a6a10ec84bf042c505776b9a4b039d.tar.xz gsoc2013-epiphany-665391b5a7a6a10ec84bf042c505776b9a4b039d.tar.zst gsoc2013-epiphany-665391b5a7a6a10ec84bf042c505776b9a4b039d.zip |
*** empty log message ***
Diffstat (limited to 'src/epiphany.in')
-rw-r--r-- | src/epiphany.in | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/epiphany.in b/src/epiphany.in new file mode 100644 index 000000000..fe0c28f5d --- /dev/null +++ b/src/epiphany.in @@ -0,0 +1,20 @@ +#!/bin/sh + +dist_bin=`dirname $0` + +if test -n "$MOZILLA_FIVE_HOME"; then + MOZILLA_HOME=$MOZILLA_FIVE_HOME +elif [ -f @MOZILLA_HOME@/chrome/comm.jar ]; then + MOZILLA_HOME=@MOZILLA_HOME@ +else + echo "Cannot find mozilla installation directory. Please set MOZILLA_FIVE_HOME to your mozilla directory" + exit +fi + +LD_LIBRARY_PATH=$MOZILLA_HOME:$LD_LIBRARY_PATH +export LD_LIBRARY_PATH + +MOZILLA_FIVE_HOME=$MOZILLA_HOME +export MOZILLA_FIVE_HOME + +exec "$dist_bin/epiphany-bin" "$@" |