[Lldb-commits] [lldb] r189703 - Make the default shell /bin/sh on all platforms. I think any system with /bin/bash

Jason Molenda jmolenda at apple.com
Fri Aug 30 16:02:56 PDT 2013


Author: jmolenda
Date: Fri Aug 30 18:02:56 2013
New Revision: 189703

URL: http://llvm.org/viewvc/llvm-project?rev=189703&view=rev
Log:
Make the default shell /bin/sh on all platforms.  I think any system with /bin/bash
will at least have it linked to /bin/sh for shell script compatibility.

Modified:
    lldb/trunk/include/lldb/Host/Host.h

Modified: lldb/trunk/include/lldb/Host/Host.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Host/Host.h?rev=189703&r1=189702&r2=189703&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Host/Host.h (original)
+++ lldb/trunk/include/lldb/Host/Host.h Fri Aug 30 18:02:56 2013
@@ -473,11 +473,7 @@ public:
                      int *signo_ptr,                // Pass NULL if you don't want the signal that caused the process to exit
                      std::string *command_output,   // Pass NULL if you don't want the command output
                      uint32_t timeout_sec,
-#ifdef __FreeBSD__
                      const char *shell = "/bin/sh"
-#else
-                     const char *shell = "/bin/bash"
-#endif
                     );
     
     static lldb::DataBufferSP





More information about the lldb-commits mailing list