about summary refs log tree commit homepage
path: root/lib/dtas/source/av_ff_common.rb
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-04-13 00:55:14 +0000
committerEric Wong <e@80x24.org>2015-04-13 00:56:18 +0000
commitc4ffed8a441fb0f16f0d206218b3580ae4460797 (patch)
treeda80bed3b899db4633a3f1e91d5b7c1cf5b82ab2 /lib/dtas/source/av_ff_common.rb
parentb1b8e7f08342c8864501338b92cc6d1dce9173b2 (diff)
downloaddtas-c4ffed8a441fb0f16f0d206218b3580ae4460797.tar.gz
We may expand them, so ensure they're properly escaped, first
for use in shell snippets.
Diffstat (limited to 'lib/dtas/source/av_ff_common.rb')
-rw-r--r--lib/dtas/source/av_ff_common.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dtas/source/av_ff_common.rb b/lib/dtas/source/av_ff_common.rb
index 189e135..9f29b02 100644
--- a/lib/dtas/source/av_ff_common.rb
+++ b/lib/dtas/source/av_ff_common.rb
@@ -158,7 +158,7 @@ module DTAS::Source::AvFfCommon # :nodoc:
 
     e["PROBE"] = @probe_harder ? @probe_harder.join(' ') : nil
     # make sure these are visible to the source command...
-    e["INFILE"] = @infile
+    e["INFILE"] = xs(@infile)
     e["AMAP"] = amap
     e["SSPOS"] = sspos
     e["RGFX"] = rg_state.effect(self) || nil