summaryrefslogtreecommitdiffstats
path: root/x11/yelp/files/yelp.sh
blob: 52a6643b7544c6d2215420fd35a18616e624ab89 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

dist_bin=`dirname $0`

MOZILLA_HOME=%%X11BASE%%/lib/%%MOZILLA%%

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
export MOZILLA_FIVE_HOME

exec "%%PREFIX%%/bin/yelp-bin" "$@"