Skip to content

Commit

Permalink
Some minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Lol3rrr committed Dec 13, 2023
1 parent 556d034 commit 011d774
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ pub async fn run(
})?;

copy_session
.write_to_file(&script_content, &format!("$NOMAD_ALLOC_DIR{}", script_name))
.write_to_file(&script_content, &format!("/alloc/{}", script_name))
.await
.map_err(|e| RunError::Other(Cow::Borrowed("Writing File to ExecSession")))?;

Expand All @@ -372,7 +372,7 @@ pub async fn run(
})?
.execute_command(
&format!(
"mkdir /mnt/alloc/builds; cd /mnt/alloc/builds; chmod +x $NOMAD_ALLOC_DIR{}; exit 0;",
"mkdir /alloc/builds; cd /alloc/builds; chmod +x /alloc/{}; exit 0;",
script_name
),
|_| {},
Expand Down

0 comments on commit 011d774

Please sign in to comment.