Skip to content

Commit

Permalink
Merge pull request #6 from EmteZogaf/fix-script-inaccessible-in-docker
Browse files Browse the repository at this point in the history
[WIP] Create R script file in workspace
  • Loading branch information
kinow committed May 19, 2017
2 parents 7f2a743 + 20d598d commit 5085280
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/biouno/r/RStep.java
Expand Up @@ -79,7 +79,7 @@ public Controller launch(EnvVars env, FilePath workspace, Launcher launcher, Tas

private static String getShellScriptExecutingRScript(FilePath ws, String command) {
try {
FilePath rScript = ws.createTextTempFile(FILE_PREFIX, FILE_EXTENSION, command, false);
FilePath rScript = ws.createTextTempFile(FILE_PREFIX, FILE_EXTENSION, command, true);
return R_EXECUTABLE + " " + rScript.getRemote();
} catch (IOException e) {
throw new IllegalStateException(Messages.R_FileCreationError(), e);
Expand Down

0 comments on commit 5085280

Please sign in to comment.