summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/cmd/Interpolation.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2010-04-21 17:06:38 +0000
committerPaul Phillips <paulp@improving.org>2010-04-21 17:06:38 +0000
commita17a4dc15730ce004ca8c9495c850dfca1062c24 (patch)
tree5dbd27fc4476a3bd3f16d1fbbee4647b633f242b /src/compiler/scala/tools/cmd/Interpolation.scala
parentcf26f620707be4bd9f8bc30a733eb4a987894421 (diff)
downloadscala-a17a4dc15730ce004ca8c9495c850dfca1062c24.tar.gz
scala-a17a4dc15730ce004ca8c9495c850dfca1062c24.tar.bz2
scala-a17a4dc15730ce004ca8c9495c850dfca1062c24.zip
Since pickled data moved into annotations ShowP...
Since pickled data moved into annotations ShowPickled has been confusedly scratching its head. Made tools/showPickled work again. In the process created a simple interface for creating command line tools for the (majority of) commands which would just like to specify a handful of options. No review.
Diffstat (limited to 'src/compiler/scala/tools/cmd/Interpolation.scala')
-rw-r--r--src/compiler/scala/tools/cmd/Interpolation.scala6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/compiler/scala/tools/cmd/Interpolation.scala b/src/compiler/scala/tools/cmd/Interpolation.scala
index 6b86a35bb9..a326d48f64 100644
--- a/src/compiler/scala/tools/cmd/Interpolation.scala
+++ b/src/compiler/scala/tools/cmd/Interpolation.scala
@@ -52,8 +52,6 @@ object Interpolation {
|#!/bin/sh
|#
|
- |scala @@MAINCLASS@@ $*
- |
- """.stripMargin
+ |scala @@MAINCLASS@@ "$@"
+ |""".stripMargin.trim + "\n"
}
-