Skip to content

Commit

Permalink
Change how quoting occurs
Browse files Browse the repository at this point in the history
  • Loading branch information
kayabaNerve committed Feb 7, 2024
1 parent 95aa088 commit 22a3039
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion orchestration/src/coordinator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ RUN apt install -y ca-certificates
];
let mut env_vars_str = String::new();
for (env_var, value) in env_vars {
env_vars_str += &format!(r#"{env_var}="${{{env_var}:='{value}'}}" "#);
env_vars_str += &format!(r#"{env_var}=${{{env_var}:="{value}"}} "#);
}

let run_coordinator = format!(
Expand Down
1 change: 0 additions & 1 deletion orchestration/src/docker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ use std::{collections::HashSet, path::Path, env, process::Command};
use crate::Network;

pub fn build(orchestration_path: &Path, network: Network, name: &str) {
// Else, hold the lock while we build
let mut repo_path = env::current_exe().unwrap();
repo_path.pop();
if repo_path.as_path().ends_with("deps") {
Expand Down
2 changes: 1 addition & 1 deletion orchestration/src/message_queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ pub fn message_queue(
];
let mut env_vars_str = String::new();
for (env_var, value) in env_vars {
env_vars_str += &format!(r#"{env_var}="${{{env_var}:='{value}'}}" "#);
env_vars_str += &format!(r#"{env_var}=${{{env_var}:="{value}"}} "#);
}

let run_message_queue = format!(
Expand Down
2 changes: 1 addition & 1 deletion orchestration/src/processor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ RUN apt install -y ca-certificates
];
let mut env_vars_str = String::new();
for (env_var, value) in env_vars {
env_vars_str += &format!(r#"{env_var}="${{{env_var}:='{value}'}}" "#);
env_vars_str += &format!(r#"{env_var}=${{{env_var}:="{value}"}} "#);
}

let run_processor = format!(
Expand Down

0 comments on commit 22a3039

Please sign in to comment.