Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Nov 2008 21:09:52 -0800 (PST)
From:      Greg Lewis <glewis@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        simon@olofsson.de
Subject:   ports/128576: [PATCH] lang/bsh: Fix wrapper script
Message-ID:  <200811040509.mA459qQX039813@misty.eyesbeyond.com>
Resent-Message-ID: <200811040550.mA45o1DG057847@freefall.freebsd.org>

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

>Number:         128576
>Category:       ports
>Synopsis:       [PATCH] lang/bsh: Fix wrapper script
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 04 05:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Greg Lewis
>Release:        FreeBSD 7.0-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD misty.eyesbeyond.com 7.0-RELEASE-p3 FreeBSD 7.0-RELEASE-p3 #0: Mon Jul 28 22:03:45 PDT 2008
>Description:
The bsh port installs the JAR file in JAVAJARDIR but the wrapper script
looks for it in DATADIR.  This change fixes that mismatch.

Port maintainer (simon@olofsson.de) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- bsh-2.0.b4_5.patch begins here ---
Index: files/bsh.sh.in
===================================================================
RCS file: /var/fcvs/ports/lang/bsh/files/bsh.sh.in,v
retrieving revision 1.3
diff -u -r1.3 bsh.sh.in
--- files/bsh.sh.in	23 Jun 2008 00:45:15 -0000	1.3
+++ files/bsh.sh.in	4 Nov 2008 05:03:09 -0000
@@ -2,4 +2,4 @@
 #
 # $FreeBSD: ports/lang/bsh/files/bsh.sh.in,v 1.3 2008/06/23 00:45:15 lippe Exp $
 
-JAVA_VERSION="%%JAVA_VERSION%%" exec "%%LOCALBASE%%/bin/java" -jar "%%DATADIR%%/%%JARNAME%%" "$@"
+JAVA_VERSION="%%JAVA_VERSION%%" exec "%%LOCALBASE%%/bin/java" -jar "%%JAVAJARDIR%%/%%JARNAME%%" "$@"
--- bsh-2.0.b4_5.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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