From c6e3e04ca150500d06a81923cdaca673662fe92e Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Mon, 28 Feb 2005 02:28:49 +0000 Subject: Re-add support for specifying a profile using the -P option. Submitted by: Jeremy Prior --- www/firefox-esr/files/patch-browser_app_mozilla.in | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'www/firefox-esr') diff --git a/www/firefox-esr/files/patch-browser_app_mozilla.in b/www/firefox-esr/files/patch-browser_app_mozilla.in index 76ff9d655757..d06f6f07ff11 100644 --- a/www/firefox-esr/files/patch-browser_app_mozilla.in +++ b/www/firefox-esr/files/patch-browser_app_mozilla.in @@ -1,5 +1,5 @@ ---- browser/app/mozilla.in.orig Tue Oct 26 11:26:11 2004 -+++ browser/app/mozilla.in Wed Feb 23 11:09:49 2005 +--- browser/app/mozilla.in.orig Tue Oct 26 10:26:11 2004 ++++ browser/app/mozilla.in Mon Feb 28 02:14:53 2005 @@ -28,52 +28,110 @@ ## The script will setup all the environment voodoo needed to make ## the mozilla-bin binary to work. @@ -151,7 +151,7 @@ # Use run-mozilla.sh in the current dir if it exists # If not, then start resolving symlinks until we find run-mozilla.sh -@@ -82,149 +140,224 @@ +@@ -82,149 +140,233 @@ curdir=`dirname "$progname"` progbase=`basename "$progname"` run_moz="$curdir/run-mozilla.sh" @@ -350,6 +350,15 @@ + moreargs="${moreargs} $1" + shift + ;; ++ -P) ++ if [ -n "$2" ]; then ++ moreargs="${moreargs} $1 '$2'" ++ shift 2 ++ else ++ echo "$0: ERROR, -P needs an argument. Exiting" 1>&2 ++ exit 1 ++ fi ++ ;; + -*) + moreargs="${moreargs} $1" + shift -- cgit v1.2.3