Skip to content

Commit

Permalink
Fix python3 shim not being updated correctly
Browse files Browse the repository at this point in the history
Fixes #464
  • Loading branch information
mitsuhiko committed Oct 3, 2023
1 parent 6e425ef commit 33a944a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rye/src/bootstrap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ pub fn update_core_shims(shims: &Path, this: &Path) -> Result<(), Error> {
} else {
fs::remove_file(shims.join("python")).ok();
symlink_file(this, shims.join("python")).context("tried to symlink python shim")?;
fs::remove_file(shims.join("python3")).ok();
symlink_file(this, shims.join("python3")).context("tried to symlink python3 shim")?;
}
}
Expand Down

0 comments on commit 33a944a

Please sign in to comment.