From 4df88122cbbbad8171e5bdb9ca3f593d3843d777 Mon Sep 17 00:00:00 2001 From: Bart Slinger Date: Wed, 26 Sep 2018 17:15:44 +0200 Subject: [PATCH] Bebop 2: use sh instead of bash --- platforms/posix/src/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/platforms/posix/src/main.cpp b/platforms/posix/src/main.cpp index 2331e42fae..46d6b92833 100644 --- a/platforms/posix/src/main.cpp +++ b/platforms/posix/src/main.cpp @@ -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);