'Generic Commit'
Some checks failed
Dropshell Test / Build_and_Test (push) Failing after 3m27s

This commit is contained in:
Your Name 2025-06-01 18:33:37 +12:00
parent a5cf9313e9
commit 964e8598b1

View File

@ -310,7 +310,7 @@ complete -F _dropshell_completions ds
std::filesystem::remove(exe_path.parent_path() / "dropshell.old");
// execute the new version
execlp("bash", "bash", "-c", (parent_path / "dropshell").c_str(), "install", (char *)nullptr);
execlp("bash", "bash", "-c", (exe_path.parent_path() / "dropshell").string() + "install", (char *)nullptr);
error << "Failed to execute new version of dropshell." << std::endl;
return -1;
}