From obrien@NUXI.com  Mon Jun 19 12:48:00 2000
Return-Path: <obrien@NUXI.com>
Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [169.237.7.38])
	by hub.freebsd.org (Postfix) with ESMTP id 96D9737B641
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 19 Jun 2000 12:47:54 -0700 (PDT)
	(envelope-from obrien@NUXI.com)
Received: from dragon.nuxi.com (root@trang.nuxi.com [209.152.133.57])
	by relay.nuxi.com (8.9.3/8.9.3) with ESMTP id MAA76997
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 19 Jun 2000 12:47:52 -0700 (PDT)
	(envelope-from obrien@dragon.nuxi.com)
Received: (from obrien@localhost)
	by dragon.nuxi.com (8.9.3/8.9.1) id MAA39664;
	Mon, 19 Jun 2000 12:47:50 -0700 (PDT)
	(envelope-from obrien)
Message-Id: <200006191947.MAA39664@dragon.nuxi.com>
Date: Mon, 19 Jun 2000 12:47:50 -0700 (PDT)
From: "David O'Brien" <obrien@NUXI.com>
Reply-To: obrien@NUXI.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: netscape-wrapper port too sensative to how it is invoked
X-Send-Pr-Version: 3.2

>Number:         19383
>Category:       ports
>Synopsis:       netscape-wrapper port too sensative to how it is invoked
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    knu
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 19 12:50:01 PDT 2000
>Closed-Date:    Wed Jun 28 03:45:14 JST 2000
>Last-Modified:  Wed Jun 28 03:45:31 JST 2000
>Originator:     David O'Brien
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
The FreeBSD Project
>Environment:

	$FreeBSD: ports/www/netscape-wrapper/Makefile,v 1.1.1.1 2000/05/08 19:02:55 knu Exp $

>Description:

	cd /usr/local/bin
	./netscape

	does not work as it should.  The script only works if invoked as
	/usr/local/bin/netscape.

>How-To-Repeat:

	bash$ cd /usr/local/bin
	bash$ sh -x ./netscape
	+ dirname netscape
	+ dirname .
	+ prefix=.
	+ lockfile=/home/obrien/.netscape/lock
	+ defs=-irix-session-management
	+ defsrem=-irix-session-management -noraise -remote
	+ b_opt=openBrowser
	+ netscape=./bin/netscape.run
	+ [ -x ./bin/netscape-remote ]
	+ netscape_remote=./bin/netscape.run
	+ netscape_bin=
	+ [ -x ./lib/netscape*/*.bin ]
	+ [  =  ]
	+ echo You don't seem to have netscape installed.
	You don't seem to have netscape installed.
	+ exit 1


>Fix:

	Do some shell magic. :-)
	Probably want to use $0 to get the cannonical name of the script and
	use relative paths to find the lib/netscape*/*.bin files.


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->knu 
Responsible-Changed-By: knu 
Responsible-Changed-When: Tue Jun 20 05:05:37 JST 2000 
Responsible-Changed-Why:  
My port, my PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=19383 
State-Changed-From-To: open->closed 
State-Changed-By: knu 
State-Changed-When: Wed Jun 28 03:45:14 JST 2000 
State-Changed-Why:  
Fixed, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=19383 
>Unformatted:
