Skip to content

Commit 1d931db

Browse files
committed
Add quotes to environment vars in DockerWrapper
1 parent d2a0fe9 commit 1d931db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SequenceAnalysis/api-src/org/labkey/api/sequenceanalysis/run/DockerWrapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public void executeWithDocker(List<String> containerArgs, File workDir, Pipeline
146146

147147
for (String key : _environment.keySet())
148148
{
149-
writer.println("\t-e " + key + "=" + _environment.get(key) + " \\");
149+
writer.println("\t-e " + key + "='" + _environment.get(key) + "' \\");
150150
}
151151
writer.println("\t" + _containerName + " \\");
152152
writer.println("\t/bin/bash " + dockerBashScript.getPath());

0 commit comments

Comments
 (0)