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