mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
fix WSL2 detection route. some linux distro spells with small letters
This commit is contained in:
parent
029d5aa358
commit
cf6b2d9597
1 changed files with 1 additions and 1 deletions
2
pm3
2
pm3
|
@ -474,7 +474,7 @@ fi
|
|||
|
||||
HOSTOS=$(uname | awk '{print toupper($0)}')
|
||||
if [ "$HOSTOS" = "LINUX" ]; then
|
||||
if uname -a|grep -q Microsoft; then
|
||||
if uname -a|grep -qi Microsoft; then
|
||||
# First try finding it using the PATH environment variable
|
||||
PSHEXE=$(command -v powershell.exe 2>/dev/null)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue