mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 07:45:33 +01:00
Merge pull request #10986 from OatmealDome/lint-bsd
lint: Don't check for WSL2 host path on non-Linux OSes
This commit is contained in:
commit
7cd3839fd6
@ -7,8 +7,10 @@ set -euo pipefail
|
|||||||
# use Windows' git when working under path mounted from host on wsl2
|
# use Windows' git when working under path mounted from host on wsl2
|
||||||
# inspired by https://markentier.tech/posts/2020/10/faster-git-under-wsl2/#solution
|
# inspired by https://markentier.tech/posts/2020/10/faster-git-under-wsl2/#solution
|
||||||
GIT=git
|
GIT=git
|
||||||
if [ "$(stat --file-system --format=%T `pwd -P`)" == "v9fs" ]; then
|
if [ "$(uname -s)" == "Linux" ]; then
|
||||||
GIT=git.exe
|
if [ "$(stat --file-system --format=%T `pwd -P`)" == "v9fs" ]; then
|
||||||
|
GIT=git.exe
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! [ -x "$(command -v $GIT)" ]; then
|
if ! [ -x "$(command -v $GIT)" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user