- Fixed problem with execute; the rc argument and rc.* overrides
   were added to the command line.
This commit is contained in:
Johannes Schlatow 2011-11-11 00:05:04 +01:00
parent 70124972c2
commit 064eacd6bc

View file

@ -53,7 +53,9 @@ int CmdExec::execute (std::string& output)
for (arg = context.a3.begin (); arg != context.a3.end (); ++arg) for (arg = context.a3.begin (); arg != context.a3.end (); ++arg)
{ {
if (arg != context.a3.begin () && 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 ()) if (command_line.length ())
command_line += " "; command_line += " ";