Skip to content

Commit adc2889

Browse files
committed
Bugfix to DockerWrapper
1 parent 81882a7 commit adc2889

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
@@ -92,7 +92,7 @@ public void executeWithDocker(List<String> containerArgs, File workDir, Pipeline
9292

9393
writer.println("IMAGE_EXISTS=`$DOCKER images -q \"" + getEffectiveContainerName() + "\" | wc -l`");
9494
writer.println("LOCAL=not_present");
95-
writer.println("if [ $IMAGE_EXISTS > 0 ];then");
95+
writer.println("if [[ $IMAGE_EXISTS > 0 ]];then");
9696
writer.println("\tLOCAL=`docker inspect --format='{{.Digest}}' " + getEffectiveContainerName() + "`");
9797
writer.println("fi");
9898
writer.println("LATEST=`regctl image digest --list " + getEffectiveContainerName() + "`");

0 commit comments

Comments
 (0)