summaryrefslogtreecommitdiff
path: root/mail/thunderbird-esr/files/patch-mail_app_mozilla.in
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2005-09-30 05:35:28 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2005-09-30 05:35:28 +0000
commitafdbc095787d628f06e2e4b13573a71b41fea2fd (patch)
tree12a942fc9c8b5c3ab90e040d22c4f086f3f22f29 /mail/thunderbird-esr/files/patch-mail_app_mozilla.in
parentUpdate to 0.3.8. (diff)
Update to 1.0.7.
Security: See http://www.mozilla.org/projects/security/known-vulnerabilities.html for security bugs fixed in this release.
Notes
Notes: svn path=/head/; revision=143815
Diffstat (limited to 'mail/thunderbird-esr/files/patch-mail_app_mozilla.in')
-rw-r--r--mail/thunderbird-esr/files/patch-mail_app_mozilla.in14
1 files changed, 8 insertions, 6 deletions
diff --git a/mail/thunderbird-esr/files/patch-mail_app_mozilla.in b/mail/thunderbird-esr/files/patch-mail_app_mozilla.in
index 01091fb2ce3b..24eeb12c3ab9 100644
--- a/mail/thunderbird-esr/files/patch-mail_app_mozilla.in
+++ b/mail/thunderbird-esr/files/patch-mail_app_mozilla.in
@@ -122,7 +122,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,160 +113,214 @@
+@@ -82,162 +113,214 @@
curdir=`dirname "$progname"`
progbase=`basename "$progname"`
run_moz="$curdir/run-mozilla.sh"
@@ -181,7 +181,6 @@
-fi
-
-script_args=""
--moreargs=""
-debugging=0
-MOZILLA_BIN="${progbase}-bin"
-
@@ -410,7 +409,8 @@
-# Default action - no running instance or _USE_EXIST (${_USE_EXIST}) ! -eq 1
-########################################################################### Main
--while [ $# -gt 0 ]
+-pass_arg_count=0
+-while [ $# -gt $pass_arg_count ]
-do
- case "$1" in
- -p | --pure | -pure)
@@ -427,8 +427,11 @@
- shift 2
- ;;
- *)
-- moreargs="$moreargs \"$1\""
-- shift 1
+- # Move the unrecognized argument to the end of the list.
+- arg="$1"
+- shift
+- set -- "$@" "$arg"
+- pass_arg_count=`expr $pass_arg_count + 1`
- ;;
- esac
-done
@@ -452,7 +455,6 @@
+fi
-export MRE_HOME
--eval "set -- $moreargs"
+# real invocation
+eval "set -- ${moreargs}"