# Re: \[PATCH 1/2\] subtree: fix the GIT\_EXEC\_PATH sanity check to work on Windows

- From: Bagas Sanjaya \<hidden\>
- Date: 2021-06-15 11:05:20 
- List: git
- Page: https://ratatoskr.run/git/2021/06/7892030
- Thread: https://ratatoskr.run/git/2021/06/7891978/t.md

```text
Hi Jeff,

> But having seen the earlier part of the thread, it looks like "are we on
> Windows" is predicated on "! type -p cygpath", which seems a bit loose.
> I also think "-p" is a bash-ism, so we'd want to avoid it before
> determining whether we're on Windows to avoid a chicken-and-egg on other
> platforms.
>
> -Peff
>

What is the POSIX equivalent then of?

-- 
An old man doll... just what I always wanted! - Clara
```
