From f7680216b85420a2003d50ec6a0ffcd716a2128f Mon Sep 17 00:00:00 2001 From: Valerie Wolfe Date: Mon, 22 Jul 2024 13:21:21 -0400 Subject: [PATCH] scripts: fixed a typo in 'pwsh.sh' that caused the wrong powershell to be used --- scripts/pwsh.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pwsh.sh b/scripts/pwsh.sh index 90c3bf8..953b237 100755 --- a/scripts/pwsh.sh +++ b/scripts/pwsh.sh @@ -4,7 +4,7 @@ env-share 2> /dev/null # try to use system-wide version first. PWSH='/mnt/c/Program Files/PowerShell/7/pwsh.exe' -if [ -x "$PWSH" ]; then +if [ ! -x "$PWSH" ]; then unset PWSH fi