mirror of https://github.com/sbt/sbt.git
Fix stderr redirect shell syntax
To prevent the following error (MacOS X 10.7): ./sbt: command substitution: line 222: syntax error near unexpected token `&' ./sbt: command substitution: line 222: `java -version |& grep version'
This commit is contained in:
parent
084480c57b
commit
dbd24d1358
2
sbt
2
sbt
|
|
@ -250,7 +250,7 @@ Usage: $script_name [options]
|
|||
-scala-home <path> use the scala build at the specified directory
|
||||
-scala-version <version> use the specified version of scala
|
||||
|
||||
# java version (default: java from PATH, currently $(java -version |& grep version))
|
||||
# java version (default: java from PATH, currently $(java -version 2>&1 | grep version))
|
||||
-java-home <path> alternate JAVA_HOME
|
||||
|
||||
# jvm options and output control
|
||||
|
|
|
|||
Loading…
Reference in New Issue