From 6d4ed6ece41ce310f78a462431fdab2b361fa0d0 Mon Sep 17 00:00:00 2001 From: Toby Davis Date: Sat, 25 May 2024 17:41:28 +0100 Subject: [PATCH] Fix make configure (again) --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/builders/make.rs | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4ead7df..b9dac92 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -377,7 +377,7 @@ dependencies = [ [[package]] name = "sccmod" -version = "0.1.8" +version = "0.1.9" dependencies = [ "anstyle", "clap", diff --git a/Cargo.toml b/Cargo.toml index 77ab788..d54b74f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "sccmod" authors = ["Toby Davis \"Pencilcaseman\""] -version = "0.1.8" +version = "0.1.9" edition = "2021" readme = "README.md" license = "MIT OR Apache-2.0" diff --git a/src/builders/make.rs b/src/builders/make.rs index 03f500a..9026f1c 100644 --- a/src/builders/make.rs +++ b/src/builders/make.rs @@ -45,6 +45,7 @@ impl Make { // )); let mut shell = Shell::default(); + shell.set_current_dir(source_path.to_str().unwrap()); for dep in dependencies { shell.add_command(&format!("module load {dep}"));