From 62ec3a94e65828233022089bb68d0c1ace3b5633 Mon Sep 17 00:00:00 2001 From: Roey Darwish Dror Date: Sat, 6 Feb 2021 06:56:26 +0200 Subject: [PATCH] Revert "wsl fix" (fix #612) This reverts commit db1dea9beaa2f52f8dcc18a7eaf9bf7a5bd906f7. --- src/steps/os/windows.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/steps/os/windows.rs b/src/steps/os/windows.rs index e7bee518..d1ac3f3f 100644 --- a/src/steps/os/windows.rs +++ b/src/steps/os/windows.rs @@ -53,7 +53,7 @@ pub fn run_scoop(cleanup: bool, run_type: RunType) -> Result<()> { pub fn run_wsl_topgrade(ctx: &ExecutionContext) -> Result<()> { let wsl = require("wsl")?; let topgrade = Command::new(&wsl) - .args(&["which", "topgrade"]) + .args(&["bash", "-l", "which", "topgrade"]) .check_output() .map_err(|_| SkipStep(String::from("Could not find Topgrade installed in WSL")))?;