scripts: fixed a typo in 'pwsh.sh' that caused the wrong powershell to be used
This commit is contained in:
parent
b204c440e2
commit
f7680216b8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue