Skip to content

Commit 3170acd

Browse files
committed
fix call to Cmd.capture in script/worker_analysis
1 parent 759f54c commit 3170acd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

script/worker_analysis

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,15 +315,15 @@ class Analyser
315315
images.map!{ |image| underlay_noise(image) }
316316
end
317317

318-
nrmse = Cmd.capture(*%W[
318+
nrmse = Cmd.capture(%W[
319319
convert
320320
#{images[0]} -auto-orient
321321
#{images[1]} -auto-orient
322322
-metric RMSE
323323
-compare
324324
-format %[distortion]
325325
info:
326-
]).to_f
326+
].shelljoin).to_f
327327
unless $CHILD_STATUS.success?
328328
fail "failed comparison of #{@path} with #{other}"
329329
end

0 commit comments

Comments
 (0)