From 064eacd6bc69dad369512d4a2776ff26fe45a6bf Mon Sep 17 00:00:00 2001 From: Johannes Schlatow Date: Fri, 11 Nov 2011 00:05:04 +0100 Subject: [PATCH] Bug - Fixed problem with execute; the rc argument and rc.* overrides were added to the command line. --- src/commands/CmdExec.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/commands/CmdExec.cpp b/src/commands/CmdExec.cpp index c1fd2ad1f..2ac94fd84 100644 --- a/src/commands/CmdExec.cpp +++ b/src/commands/CmdExec.cpp @@ -53,7 +53,9 @@ int CmdExec::execute (std::string& output) for (arg = context.a3.begin (); arg != context.a3.end (); ++arg) { if (arg != context.a3.begin () && - arg->_raw != "execute") + arg->_raw != "execute" && + arg->_category != Arg::cat_rc && + arg->_category != Arg::cat_override) { if (command_line.length ()) command_line += " ";