From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS22989 208.118.235.0/24 X-Spam-Status: No, score=-2.4 required=3.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_BLOCKED shortcircuit=no autolearn=unavailable version=3.3.2 X-Original-To: dtas-all@80x24.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 1895E1F8C5 for ; Mon, 18 May 2015 07:51:11 +0000 (UTC) Received: from localhost ([::1]:39533 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YuFpO-0002R7-6n for dtas-all@80x24.org; Mon, 18 May 2015 03:51:10 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52832) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YuFpM-0002Qx-MK for dtas-all@nongnu.org; Mon, 18 May 2015 03:51:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YuFpL-0008Nl-So for dtas-all@nongnu.org; Mon, 18 May 2015 03:51:08 -0400 Received: from dcvr.yhbt.net ([64.71.152.64]:48788) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YuFpL-0008Nf-Nb for dtas-all@nongnu.org; Mon, 18 May 2015 03:51:07 -0400 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 3B2651F75F; Mon, 18 May 2015 07:51:07 +0000 (UTC) From: Eric Wong To: Subject: [PATCH] splitfx: show correct command for output Date: Mon, 18 May 2015 07:51:05 +0000 Message-Id: <1431935465-13380-1-git-send-email-e@80x24.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 64.71.152.64 Cc: Eric Wong X-BeenThere: dtas-all@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dtas-all-bounces+dtas-all=80x24.org@nongnu.org Sender: dtas-all-bounces+dtas-all=80x24.org@nongnu.org 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