firefox/firefox-xremote-client.sh.in
2007-07-31 10:50:12 +00:00

22 lines
469 B
Bash

#!/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"