mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
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:
parent
f8f9baebe1
commit
280569d65e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=117959
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= mozilla
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
PORTEPOCH= 0
|
||||
CATEGORIES= www
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME?= mozilla
|
||||
PORTVERSION= 1.7.2
|
||||
PORTREVISION?= 0
|
||||
PORTREVISION?= 1
|
||||
PORTEPOCH?= 2
|
||||
CATEGORIES?= www
|
||||
MASTER_SITES= ${MASTER_SITE_MOZILLA} \
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user