mirror of https://github.com/sbt/sbt.git
Restoring change of working directory in installer plugin
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@855 d89573ee-9141-11dd-94d4-bdf5e562f29c
This commit is contained in:
parent
5eb4bf2a22
commit
339628826d
|
|
@ -86,6 +86,7 @@ object Main
|
|||
{
|
||||
val command = "java" :: "-cp" :: loader.getAbsolutePath :: filterEmpty(install.options) ::: "sbt.boot.Boot" :: filterEmpty(install.actions)
|
||||
val builder = new java.lang.ProcessBuilder(command.toArray : _*)
|
||||
builder.directory(project)
|
||||
val exitCode = (Process(builder) !<)
|
||||
if(exitCode == 0)
|
||||
None
|
||||
|
|
|
|||
Loading…
Reference in New Issue