[MacPorts] #26725: UPDATE: sbt @0.7.4 to correct reported launcher script problems
MacPorts
noreply at macports.org
Mon Oct 4 16:00:19 PDT 2010
#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
More information about the macports-tickets
mailing list