summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/Process.cpp
diff options
context:
space:
mode:
authorEd Maste <emaste@freebsd.org>2013-09-03 23:04:53 +0000
committerEd Maste <emaste@freebsd.org>2013-09-03 23:04:53 +0000
commitb8ca4a2c1a5b373271e39f70d20eb8550774d97f (patch)
treece7c34c785991e2ee4a256a3cfa945748704993f /lldb/source/Target/Process.cpp
parent6c6b425b30daa0dfe292c3201b229947d346f0b2 (diff)
downloadbcm5719-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/Target/Process.cpp')
-rw-r--r--lldb/source/Target/Process.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Target/Process.cpp b/lldb/source/Target/Process.cpp
index 704f1dfc4fc..93406435a4c 100644
--- a/lldb/source/Target/Process.cpp
+++ b/lldb/source/Target/Process.cpp
@@ -816,7 +816,7 @@ ProcessLaunchCommandOptions::SetOptionValue (uint32_t option_idx, const char *op
if (option_arg && option_arg[0])
launch_info.SetShell (option_arg);
else
- launch_info.SetShell ("/bin/bash");
+ launch_info.SetShell (LLDB_DEFAULT_SHELL);
break;
case 'v':
OpenPOWER on IntegriCloud