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__()
191
191
end
192
192
193
193
# 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.
198
196
if get (ENV , " BINARYBUILDER_USE_SQUASHFS" , " " ) == " false"
199
197
use_squashfs[] = false
200
198
elseif get (ENV , " BINARYBUILDER_USE_SQUASHFS" , " " ) == " true"
@@ -205,7 +203,7 @@ function __init__()
205
203
if preferred_runner () == DockerRunner
206
204
# Conversely, if we're dock'ing it up, don't use it.
207
205
use_squashfs[] = false
208
- elseif runner_override == " privileged"
206
+ elseif runner_override[] == " privileged"
209
207
# If we're forcing a privileged runner, go ahead and default to squashfs
210
208
use_squashfs[] = true
211
209
end
You can’t perform that action at this time.
0 commit comments