Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Mar 2002 09:17:18 +0100 (CET)
From:      n_hibma@van-laarhoven.org
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/36280: [PATCH] pass arguments in startup script
Message-ID:  <200203250817.g2P8HIb31128@heather.van-laarhoven.org>

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

>Number:         36280
>Category:       ports
>Synopsis:       [PATCH] pass arguments in startup script
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 25 00:20:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Nick Hibma <n_hibma@van-laarhoven.org>
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD heather.van-laarhoven.org 5.0-CURRENT FreeBSD 5.0-CURRENT #10: Tue Feb 19 15:20:39 CET 2002 root@heather.van-laarhoven.org:/usr/src-semi/sys/i386/compile/HEATHER i386

	ports tree as of 2002/03/23 (see also Makefile rev.)

>Description:

	/usr/local/bin/netscape6 does not pass parameters passed on the command
	line to the started netscape executable.

>How-To-Repeat:

	Eh....

>Fix:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/linux-netscape6/Makefile,v
retrieving revision 1.53
diff -u -r1.53 Makefile
--- Makefile    9 Mar 2002 01:40:58 -0000       1.53
+++ Makefile    25 Mar 2002 08:13:54 -0000
@@ -142,7 +142,7 @@
        ${ECHO_CMD}     "#!/bin/sh"             >  ${STARTUP_CMD}
        ${ECHO_CMD} -n  "cd "                   >> ${STARTUP_CMD}
        ${ECHO_CMD}     ${INSTALL_DIR}          >> ${STARTUP_CMD}
-       ${ECHO_CMD}     "exec ./netscape"       >> ${STARTUP_CMD}
+       ${ECHO_CMD}     "exec ./netscape $*"    >> ${STARTUP_CMD}
 
 pre-install:
        ${ECHO_CMD} bin/netscape6 > ${PLIST}


>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?200203250817.g2P8HIb31128>