File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -191,10 +191,8 @@ function __init__()
191191 end
192192
193193 # If the user has asked for squashfs mounting instead of tarball mounting,
194- # use that here. Note that on Travis, we default to using squashfs, unless
195- # BINARYBUILDER_USE_SQUASHFS is set to "false", which overrides this
196- # default. If we are not on Travis, we default to using tarballs and not
197- # squashfs images as using them requires `sudo` access.
194+ # use that here. We default to using tarballs and not squashfs images as
195+ # using them requires `sudo` access.
198196 if get (ENV , " BINARYBUILDER_USE_SQUASHFS" , " " ) == " false"
199197 use_squashfs[] = false
200198 elseif get (ENV , " BINARYBUILDER_USE_SQUASHFS" , " " ) == " true"
@@ -205,7 +203,7 @@ function __init__()
205203 if preferred_runner () == DockerRunner
206204 # Conversely, if we're dock'ing it up, don't use it.
207205 use_squashfs[] = false
208- elseif runner_override == " privileged"
206+ elseif runner_override[] == " privileged"
209207 # If we're forcing a privileged runner, go ahead and default to squashfs
210208 use_squashfs[] = true
211209 end
You can’t perform that action at this time.
0 commit comments