summaryrefslogtreecommitdiff
path: root/firefox-xremote-client.sh.in
blob: fa53f0205291c9477e9683a55a03ed1273c32202 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

##
## Set MOZILLA_FIVE_HOME
##
MOZILLA_FIVE_HOME="FFDIR"

export MOZILLA_FIVE_HOME

##
## Set LD_LIBRARY_PATH
##
if [ "$LD_LIBRARY_PATH" ]
then
  LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:$MOZILLA_FIVE_HOME/plugins-wrapped:LIBDIR/mozilla/plugins-wrapped:LIBDIR:$LD_LIBRARY_PATH
else
  LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:$MOZILLA_FIVE_HOME/plugins-wrapped:LIBDIR/mozilla/plugins-wrapped:LIBDIR
fi
 export LD_LIBRARY_PATH

$MOZILLA_FIVE_HOME/firefox-bin -remote "$1"
bgstack15