diff options
author | Eric Wong <e@80x24.org> | 2015-04-13 00:55:14 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-04-13 00:56:18 +0000 |
commit | c4ffed8a441fb0f16f0d206218b3580ae4460797 (patch) | |
tree | da80bed3b899db4633a3f1e91d5b7c1cf5b82ab2 /lib/dtas/source/sox.rb | |
parent | b1b8e7f08342c8864501338b92cc6d1dce9173b2 (diff) | |
download | dtas-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/sox.rb')
-rw-r--r-- | lib/dtas/source/sox.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dtas/source/sox.rb b/lib/dtas/source/sox.rb index 91a3c40..6f02f99 100644 --- a/lib/dtas/source/sox.rb +++ b/lib/dtas/source/sox.rb @@ -78,7 +78,7 @@ class DTAS::Source::Sox # :nodoc: def src_spawn(player_format, rg_state, opts) raise "BUG: #{self.inspect}#src_spawn called twice" if @to_io e = @env.merge!(player_format.to_env) - e["INFILE"] = @infile + e["INFILE"] = xs(@infile) # make sure these are visible to the "current" command... e["TRIMFX"] = trimfx |