diff options
author | Ed Maste <emaste@freebsd.org> | 2013-09-03 23:04:53 +0000 |
---|---|---|
committer | Ed Maste <emaste@freebsd.org> | 2013-09-03 23:04:53 +0000 |
commit | b8ca4a2c1a5b373271e39f70d20eb8550774d97f (patch) | |
tree | ce7c34c785991e2ee4a256a3cfa945748704993f /lldb/source/Interpreter/CommandInterpreter.cpp | |
parent | 6c6b425b30daa0dfe292c3201b229947d346f0b2 (diff) | |
download | bcm5719-llvm-b8ca4a2c1a5b373271e39f70d20eb8550774d97f.tar.gz bcm5719-llvm-b8ca4a2c1a5b373271e39f70d20eb8550774d97f.zip |
Switch '/bin/bash' to '/bin/sh'
/bin/sh is more portable, and all systems with /bin/bash are expected to
have /bin/sh as well, even if only a link to bash.
Review: http://llvm-reviews.chandlerc.com/D1576
llvm-svn: 189879
Diffstat (limited to 'lldb/source/Interpreter/CommandInterpreter.cpp')
-rw-r--r-- | lldb/source/Interpreter/CommandInterpreter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/CommandInterpreter.cpp b/lldb/source/Interpreter/CommandInterpreter.cpp index db2f2fafbef..09b7dd9c2c9 100644 --- a/lldb/source/Interpreter/CommandInterpreter.cpp +++ b/lldb/source/Interpreter/CommandInterpreter.cpp @@ -318,7 +318,7 @@ CommandInterpreter::Initialize () #if defined (__arm__) ProcessAliasOptionsArgs (cmd_obj_sp, "--", alias_arguments_vector_sp); #else - ProcessAliasOptionsArgs (cmd_obj_sp, "--shell=/bin/bash --", alias_arguments_vector_sp); + ProcessAliasOptionsArgs (cmd_obj_sp, "--shell=" LLDB_DEFAULT_SHELL, alias_arguments_vector_sp); #endif AddAlias ("r", cmd_obj_sp); AddAlias ("run", cmd_obj_sp); |