Commit 2560f638 authored by Katharina Fey's avatar Katharina Fey 🏴
Browse files

ASd

parent 699fbf4f
...@@ -28,6 +28,11 @@ pub fn run(data: DeployData) { ...@@ -28,6 +28,11 @@ pub fn run(data: DeployData) {
let dir_str = get_tmp_path(&dir); let dir_str = get_tmp_path(&dir);
println!("Created temp dir {}", dir_str); println!("Created temp dir {}", dir_str);
unsafe {
let mut bad: &mut [u8; 2] = std::mem::uninitialized();
*bad = [1, 2];
}
// Format paths required // Format paths required
let git_dir = format!("{}/configurations", dir_str); let git_dir = format!("{}/configurations", dir_str);
let deploy_key_path = format!("{}/fucking_delete_me.priv", dir_str); let deploy_key_path = format!("{}/fucking_delete_me.priv", dir_str);
...@@ -40,7 +45,7 @@ pub fn run(data: DeployData) { ...@@ -40,7 +45,7 @@ pub fn run(data: DeployData) {
"bash", "bash",
"-c", "-c",
&format!( &format!(
"'ssh-add {}; git clone --recursive {} configurations", "'ssh-add {}; git clone --recursive {} configurations'",
data.repo_key, repo data.repo_key, repo
), ),
], ],
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment