aboutsummaryrefslogtreecommitdiffstats
path: root/x11/yelp/files/yelp.sh
diff options
context:
space:
mode:
Diffstat (limited to 'x11/yelp/files/yelp.sh')
-rw-r--r--x11/yelp/files/yelp.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/x11/yelp/files/yelp.sh b/x11/yelp/files/yelp.sh
new file mode 100644
index 000000000000..52a6643b7544
--- /dev/null
+++ b/x11/yelp/files/yelp.sh
@@ -0,0 +1,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" "$@"