Skip to content

Commit

Permalink
V10 3 2 bugfix + revert #347 (#382)
Browse files Browse the repository at this point in the history
* Revert "run_custom_command: use interactive shell on unix (#347)"

This reverts commit d767ef3.

* v10-3-3 + revert of #347
  • Loading branch information
s34m authored Mar 13, 2023
1 parent a3628d0 commit 3a3f22b
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 39 deletions.
66 changes: 33 additions & 33 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ description = "Upgrade all the things"
categories = ["os"]
keywords = ["upgrade", "update"]
license = "GPL-3.0"
# license-file = "LICENSE"
repository = "https://github.com/topgrade-rs/topgrade"
version = "10.3.2"
version = "10.3.3"
authors = ["Roey Darwish Dror <[email protected]>", "Thomas Schönauer <[email protected]>"]
exclude = ["doc/screenshot.gif"]
edition = "2021"
Expand Down
5 changes: 1 addition & 4 deletions src/steps/generic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -505,10 +505,7 @@ pub fn run_myrepos_update(base_dirs: &BaseDirs, run_type: RunType) -> Result<()>

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

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

0 comments on commit 3a3f22b

Please sign in to comment.