[MacPorts] #26725: UPDATE: sbt @0.7.4 to correct reported launcher script problems
#26725: UPDATE: sbt @0.7.4 to correct reported launcher script problems ---------------------------------------+------------------------------------ Reporter: lists@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: ---------------------------------------+------------------------------------ I have attached patches to both the launcher script and the Portfile. The Portfile patch only increments the revision value. {{{ --- /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/sbt/Portfile 2010-07-13 20:00:52.000000000 -0400 +++ ./Portfile 2010-10-03 08:27:59.000000000 -0400 @@ -5,6 +5,7 @@ name sbt version 0.7.4 +revision 1 categories devel java maintainers jon.buffington.name:me platforms darwin }}} {{{ --- /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/sbt/files/sbt.sh 2010-07-13 20:00:52.000000000 -0400 +++ ./files/sbt.sh 2010-10-03 08:39:22.000000000 -0400 @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright (c) 2007-2009 Jon Buffington. All rights reserved. +# Copyright (c) 2010 Jon Buffington. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -17,17 +17,10 @@ # Is the location of the SBT launcher JAR file. LAUNCHJAR="__SBT_LAUNCHER_PATH__" -# Capture any arguments -QUOTED_ARGS="" -while [ "$1" != "" ] ; do - QUOTED_ARGS="$QUOTED_ARGS \"$1\"" - shift -done - # Ensure enough heap space is created for SBT. if [ -z "$JAVA_OPTS" ]; then JAVA_OPTS="-Xmx512M" fi # Assume java is already in the shell path. -exec java $JAVA_OPTS -jar "$LAUNCHJAR" $QUOTED_ARGS +exec java $JAVA_OPTS -jar "$LAUNCHJAR" "$@" }}} -- Ticket URL: <https://trac.macports.org/ticket/26725> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26725: UPDATE: sbt @0.7.4 to correct reported launcher script problems ---------------------------------------+------------------------------------ Reporter: lists@… | Owner: ryandesign@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: sbt ---------------------------------------+------------------------------------ Changes (by ryandesign@…): * status: new => assigned * owner: macports-tickets@… => ryandesign@… * port: => sbt -- Ticket URL: <https://trac.macports.org/ticket/26725#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26725: UPDATE: sbt @0.7.4 to correct reported launcher script problems ----------------------------------------+----------------------------------- Reporter: lists@… | Owner: ryandesign@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: fixed | Keywords: Port: sbt | ----------------------------------------+----------------------------------- Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Comment: I committed your patch in r72141, and I also added the line "extract.only" to avoid the error message "gzip: /opt/local/var/macports/distfiles/sbt /sbt-launch-0.7.4.jar has more than one entry--rest ignored" during the extract phase. -- Ticket URL: <https://trac.macports.org/ticket/26725#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26725: UPDATE: sbt @0.7.4 to correct reported launcher script problems ----------------------------------------+----------------------------------- Reporter: lists@… | Owner: ryandesign@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: fixed | Keywords: Port: sbt | ----------------------------------------+----------------------------------- Comment(by lists@…): Replying to [comment:2 ryandesign@…]:
I committed your patch in r72141, and I also added the line "extract.only" to avoid the error message "gzip: /opt/local/var/macports/distfiles/sbt/sbt-launch-0.7.4.jar has more than one entry--rest ignored" during the extract phase.
Thanks for the improvement and committing the update. -- Ticket URL: <https://trac.macports.org/ticket/26725#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts