scripts: fixed a typo in 'pwsh.sh' that caused the wrong powershell to be used

This commit is contained in:
Valerie Wolfe 2024-07-22 13:21:21 -04:00
parent b204c440e2
commit f7680216b8

View file

@ -4,7 +4,7 @@ env-share 2> /dev/null
# try to use system-wide version first. # try to use system-wide version first.
PWSH='/mnt/c/Program Files/PowerShell/7/pwsh.exe' PWSH='/mnt/c/Program Files/PowerShell/7/pwsh.exe'
if [ -x "$PWSH" ]; then if [ ! -x "$PWSH" ]; then
unset PWSH unset PWSH
fi fi