2006-05-02 Zac Bowling <zac@zacbowling.com>
* msdnb: Invoke wrapper that find libgtkmozembed.so svn path=/trunk/msdn-browse/; revision=60169
This commit is contained in:
Родитель
c8e4a8209f
Коммит
0ee355e3d9
|
@ -1,3 +1,7 @@
|
|||
2006-05-02 Zac Bowling <zac@zacbowling.com>
|
||||
|
||||
* msdnb: Invoke wrapper that find libgtkmozembed.so
|
||||
|
||||
2005-09-02 Ben Maurer <bmaurer@ximian.com>
|
||||
|
||||
* main.cs: TreeNodeValue works on fields yay.
|
||||
|
|
|
@ -0,0 +1,26 @@
|
|||
#!/bin/sh
|
||||
|
||||
if test -n "$MOZILLA_FIVE_HOME"; then
|
||||
MOZILLA_HOME=$MOZILLA_FIVE_HOME
|
||||
elif [ -f @MOZILLA_HOME@/chrome/comm.jar ]; then
|
||||
MOZILLA_HOME=@MOZILLA_HOME@
|
||||
elif [ $(which mozilla) ] && grep MOZILLA_FIVE_HOME= "$(which mozilla)" > /dev/null ; then
|
||||
MOZILLA_HOME=$(grep MOZILLA_FIVE_HOME= $(which mozilla) | cut -d '"' -f 2)
|
||||
elif [ $(which firefox) ] && grep MOZILLA_FIVE_HOME= "$(which firefox)" > /dev/null ; then
|
||||
MOZILLA_HOME=$(grep MOZILLA_FIVE_HOME= $(which firefox) | cut -d '"' -f 2)
|
||||
else
|
||||
echo "Cannot find mozilla installation directory. Please set MOZILLA_FIVE_HOME to your mozilla directory"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
if [ -n $LD_LIBRARY_PATH ]; then
|
||||
export LD_LIBRARY_PATH=$MOZILLA_HOME:$LD_LIBRARY_PATH
|
||||
else
|
||||
export LD_LIBRARY_PATH=$MOZILLA_HOME
|
||||
fi
|
||||
|
||||
|
||||
export MOZILLA_FIVE_HOME=$MOZILLA_HOME
|
||||
|
||||
exec mono msdnb.exe
|
Загрузка…
Ссылка в новой задаче