Skip to content

Commit 3a3f22b

Browse files
authored
V10 3 2 bugfix + revert #347 (#382)
* Revert "run_custom_command: use interactive shell on unix (#347)" This reverts commit d767ef3. * v10-3-3 + revert of #347
1 parent a3628d0 commit 3a3f22b

File tree

3 files changed

+35
-39
lines changed

3 files changed

+35
-39
lines changed

Cargo.lock

Lines changed: 33 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ description = "Upgrade all the things"
44
categories = ["os"]
55
keywords = ["upgrade", "update"]
66
license = "GPL-3.0"
7-
# license-file = "LICENSE"
87
repository = "https://github.com/topgrade-rs/topgrade"
9-
version = "10.3.2"
8+
version = "10.3.3"
109
authors = ["Roey Darwish Dror <[email protected]>", "Thomas Schönauer <[email protected]>"]
1110
exclude = ["doc/screenshot.gif"]
1211
edition = "2021"

src/steps/generic.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -505,10 +505,7 @@ pub fn run_myrepos_update(base_dirs: &BaseDirs, run_type: RunType) -> Result<()>
505505

506506
pub fn run_custom_command(name: &str, command: &str, ctx: &ExecutionContext) -> Result<()> {
507507
print_separator(name);
508-
let mut exec = ctx.run_type().execute(shell());
509-
#[cfg(unix)]
510-
exec.arg("-i");
511-
exec.arg("-c").arg(command).status_checked()
508+
ctx.run_type().execute(shell()).arg("-c").arg(command).status_checked()
512509
}
513510

514511
pub fn run_composer_update(ctx: &ExecutionContext) -> Result<()> {

0 commit comments

Comments
 (0)