We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec3b541 commit 561aff1Copy full SHA for 561aff1
test/tests/run-java-in-container.sh
@@ -52,7 +52,7 @@ WORKDIR /container
52
EOD
53
54
# if testDir contains dotted-environment-variables we need to add an environment variable to the docker run command
55
-if [ $testDir == *"dotted-environment-variables"* ]; then
+if [[ "$testDir" == *"dotted-environment-variables"* ]]; then
56
docker run --rm -e "variable.with.a.dot=a.dotted.value" "$newImage" java -cp . container
57
else
58
docker run --rm "$newImage" java -cp . container
0 commit comments