Fix a problem where passing a URL without a trailing slash can stop

Mozilla from launching.  See http://bugzilla.mozilla.org/show_bug.cgi?id=242123
for more details.

PR:		69937
Sbumitted by:	Sean Farley <sean-freebsd@farley.org>
This commit is contained in:
Joe Marcus Clarke 2004-09-02 18:22:34 +00:00
parent f8f9baebe1
commit 280569d65e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=117959
3 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= mozilla
PORTREVISION= 1
PORTREVISION= 2
PORTEPOCH= 0
CATEGORIES= www

View File

@ -7,7 +7,7 @@
PORTNAME?= mozilla
PORTVERSION= 1.7.2
PORTREVISION?= 0
PORTREVISION?= 1
PORTEPOCH?= 2
CATEGORIES?= www
MASTER_SITES= ${MASTER_SITE_MOZILLA} \

View File

@ -20,10 +20,10 @@ case $1 in
exec ./$MOZILLA_EXEC "$@"
;;
*)
REMOTE_COMMAND="openURL($@, $LOCATION)"
REMOTE_COMMAND="openURL($@,$LOCATION)"
;;
esac
# process found
./$MOZILLA_EXEC -remote "ping()" &&
./$MOZILLA_EXEC -remote "$REMOTE_COMMAND" && exit 0