forked from Archive/PX4-Autopilot
Bebop 2: use sh instead of bash
This commit is contained in:
parent
77d053ba65
commit
4df88122cb
|
@ -482,7 +482,11 @@ std::string get_absolute_binary_path(const std::string &argv0)
|
|||
int run_startup_bash_script(const std::string &commands_file, const std::string &absolute_binary_path,
|
||||
int instance)
|
||||
{
|
||||
#ifdef __DF_BEBOP
|
||||
std::string bash_command("sh ");
|
||||
#else
|
||||
std::string bash_command("bash ");
|
||||
#endif
|
||||
|
||||
bash_command += commands_file + ' ' + std::to_string(instance);
|
||||
|
||||
|
|
Loading…
Reference in New Issue