Subject: pkg/21460: can't pass args to devel/sablecc
To: None <gnats-bugs@gnats.netbsd.org>
From: None <tv@pobox.com>
List: netbsd-bugs
Date: 05/05/2003 15:12:08
>Number:         21460
>Category:       pkg
>Synopsis:       can't pass args to devel/sablecc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 05 19:16:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Todd Vierling
>Release:        NetBSD 1.6.1
>Organization:
	DUH.ORG:  Pointing out the obvious since 1994.
>Environment:
>Description:

The script files/sablecc doesn't pass command line args on to the program,
rendering it useless.

>How-To-Repeat:
>Fix:

Index: files/sablecc
===================================================================
RCS file: /pub/NetBSD-CVS/pkgsrc/devel/sablecc/files/sablecc,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 sablecc
--- files/sablecc	2002/09/18 10:46:17	1.1.1.1
+++ files/sablecc	2003/05/05 19:10:06
@@ -15,4 +15,4 @@
   fi
 fi
 
-${JAVACMD} -jar ${SABLECC_HOME}/lib/java/sablecc.jar
+${JAVACMD} -jar ${SABLECC_HOME}/lib/java/sablecc.jar "$@"
>Release-Note:
>Audit-Trail:
>Unformatted: