Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jun 2000 12:47:50 -0700 (PDT)
From:      "David O'Brien" <obrien@NUXI.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/19383: netscape-wrapper port too sensative to how it is invoked
Message-ID:  <200006191947.MAA39664@dragon.nuxi.com>

next in thread | raw e-mail | index | archive | help

>Number:         19383
>Category:       ports
>Synopsis:       netscape-wrapper port too sensative to how it is invoked
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 19 12:50:01 PDT 2000
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006191947.MAA39664>