1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/www/moonshine/files/patch-xulrunner-moonshine.in
Romain Tartière 03501f9b1d Update to 0.7.
PR:		ports/148851
Submitted by:	decke@
2010-08-03 16:18:58 +00:00

15 lines
524 B
Plaintext

--- xulrunner/moonshine.in.orig 2010-06-22 21:46:11.000000000 +0200
+++ xulrunner/moonshine.in 2010-07-22 21:49:39.000000000 +0200
@@ -1,7 +1,8 @@
-#!/bin/bash
+#!/bin/sh
-XULRUNNER=$(readlink -e $(which xulrunner))
-BROWSER_PLUGIN_DIR=@BROWSER_PLUGIN_DIR@
+XULRUNNERBINARY=$(which xulrunner)
+XULRUNNER=$(echo $(cd $(dirname $XULRUNNERBINARY); pwd -P)/$(basename $XULRUNNERBINARY))
+BROWSER_PLUGIN_DIR=@BROWSER_PLUGIN_DIR@../symlinks/gecko19
LIBDIR=${XULRUNNER%%/xulrunner*}
FF_PROFILES_PATH="$HOME/.mozilla/firefox"