Since the behavious of MinGW and Linux are the same, please use or `-o` in if-condition to avoid duplicate code:
```sh
if [ $(uname) = "Linux" -o $(uname) = MINGW* ]; then
...
fi
```