Bebop 2: use sh instead of bash

This commit is contained in:
Bart Slinger 2018-09-26 17:15:44 +02:00 committed by Lorenz Meier
parent 77d053ba65
commit 4df88122cb
1 changed files with 4 additions and 0 deletions

View File

@ -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);