diff options
author | notgne2 | 2020-10-11 15:19:09 -0700 |
---|---|---|
committer | notgne2 | 2020-10-11 15:19:09 -0700 |
commit | e5bd558c5b6505621d3b5a27e9b39bf54f6788a1 (patch) | |
tree | f196c3b5fbec9a6d097cd0b73898c3db12052e7b /src/activate.rs | |
parent | f2e5b9b39303ec66142caadad6aea74ee56a4c93 (diff) |
Set working directory during activation to the profile path
Diffstat (limited to '')
-rw-r--r-- | src/activate.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/activate.rs b/src/activate.rs index 38fc832..0b7d28d 100644 --- a/src/activate.rs +++ b/src/activate.rs @@ -77,6 +77,7 @@ pub async fn activate( let activate_status = Command::new(format!("{}/deploy-rs-activate", profile_path)) .env("PROFILE", &profile_path) + .current_dir(&profile_path) .status() .await; @@ -144,6 +145,7 @@ pub async fn activate( let re_activate_exit_status = Command::new(format!("{}/deploy-rs-activate", profile_path)) .env("PROFILE", &profile_path) + .current_dir(&profile_path) .status() .await?; |