Skip to content

Commit 888a471

Browse files
committed
Update Black Belt C++ launcher path after bin move
1 parent 38cf7b7 commit 888a471

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

bin/blackbelt.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ static std::string engineCommand() {
2727
const char* env = std::getenv("BBEA_ENGINE_CMD"); if (env && *env) return env;
2828
char exe[4096]; ssize_t n = readlink("/proc/self/exe", exe, sizeof(exe) - 1);
2929
if (n > 0) { exe[n] = '\0'; std::string path(exe); auto slash = path.find_last_of('/'); if (slash != std::string::npos) return path.substr(0, slash + 1) + "blackbelt-engine.sh"; }
30-
return "bin/blackbelt-engine.sh";
30+
return "modules/black-belt/bin/blackbelt-engine.sh";
3131
}
3232

3333
static std::string outputHelper() {
3434
char exe[4096]; ssize_t n = readlink("/proc/self/exe", exe, sizeof(exe) - 1);
3535
if (n > 0) { exe[n] = '\0'; std::string path(exe); auto slash = path.find_last_of('/'); if (slash != std::string::npos) return path.substr(0, slash + 1) + "blackbelt-output.sh"; }
36-
return "bin/blackbelt-output.sh";
36+
return "modules/black-belt/bin/blackbelt-output.sh";
3737
}
3838

3939
static bool copyExact(const std::string& src, const std::string& dst) {

0 commit comments

Comments
 (0)