mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
Bebop 2: use sh instead of bash
This commit is contained in:
committed by
Lorenz Meier
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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user