From f5ddde36b3a7542986f05c75300730c8bd51efce Mon Sep 17 00:00:00 2001 From: atj Date: Tue, 16 Jan 2018 20:17:56 -0500 Subject: [PATCH] Fix silly typo that I wish was caught at compile time...doh --- Builder/src/main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Builder/src/main.cpp b/Builder/src/main.cpp index 7ecc135..e8a0a14 100644 --- a/Builder/src/main.cpp +++ b/Builder/src/main.cpp @@ -77,10 +77,11 @@ void read_file(websocket::stream& client_stream, std::string build_command(const ClientData& client_data) { std::string build_command; + if (client_data.backend == BackendType::singularity) { - std::string build_command = "/usr/bin/sudo SingularityBuilderBackend"; + build_command = "/usr/bin/sudo /usr/local/bin/SingularityBuilderBackend"; } else if(client_data.backend == BackendType::docker) { - std::string build_command = "/usr/bin/sudo DockerBuilderBackend"; + build_command = "/usr/bin/sudo /usr/local/bin/DockerBuilderBackend"; } Logger::info("Build command prepared: " + build_command);