forked from OSchip/llvm-project
This is actually a FileSpec, so use .GetCString() instead
llvm-svn: 262914
This commit is contained in:
parent
c8fd719e21
commit
443923b72d
|
@ -461,7 +461,7 @@ CommandInterpreter::Initialize ()
|
|||
AddAlias ("run", cmd_obj_sp, "--shell-expand-args true --");
|
||||
#else
|
||||
StreamString defaultshell;
|
||||
defaultshell.Printf("--shell=%s --", HostInfo::GetDefaultShell().GetPath().c_str());
|
||||
defaultshell.Printf("--shell=%s --", HostInfo::GetDefaultShell().GetPath().GetCString());
|
||||
AddAlias ("r", cmd_obj_sp, defaultshell.GetData());
|
||||
AddAlias ("run", cmd_obj_sp, defaultshell.GetData());
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue