dtas-all
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] splitfx: show correct command for output


From: Eric Wong
Subject: [PATCH] splitfx: show correct command for output
Date: Mon, 18 May 2015 07:51:05 +0000

Oops...
---
 lib/dtas/splitfx.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/dtas/splitfx.rb b/lib/dtas/splitfx.rb
index b657179..9420faf 100644
--- a/lib/dtas/splitfx.rb
+++ b/lib/dtas/splitfx.rb
@@ -240,9 +240,9 @@ class DTAS::SplitFX # :nodoc:
     if player_cmd
       sub_env = { 'INFILE' => '-', 'FX' => '', 'TRIMFX' => '' }
       sub_env_s = sub_env.inject("") { |s,(k,v)| s << "#{k}=#{v} " }
-      command = "#{player_cmd} | (#{sub_env_s}; #{command})"
       show_cmd = [ _expand_cmd(env, player_cmd), '|', '(', "#{sub_env_s};",
                    _expand_cmd(env.merge(sub_env), command), ')' ].flatten
+      command = "#{player_cmd} | (#{sub_env_s}; #{command})"
     else
       show_cmd = _expand_cmd(env, command)
     end
-- 
EW




reply via email to

[Prev in Thread] Current Thread [Next in Thread]