Skip to content

Commit

Permalink
Use USERPROFILE instead of HOMEPATH
Browse files Browse the repository at this point in the history
  • Loading branch information
Diggsey authored May 23, 2017
1 parent de67271 commit a2e465c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rustup-cli/self_update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ fn canonical_cargo_home() -> Result<String> {
if cfg!(unix) {
path_str = String::from("$HOME/.cargo");
} else {
path_str = String::from(r"%HOMEPATH%\.cargo");
path_str = String::from(r"%USERPROFILE%\.cargo");
}
}

Expand Down

0 comments on commit a2e465c

Please sign in to comment.