mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-25 22:50:15 +00:00
added check for each platform
This commit is contained in:
parent
b69e33a0d6
commit
45b3b36c4a
@ -1,10 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [[ $OSTYPE == darwin* ]]
|
||||
then
|
||||
export PATH=$PATH:$(brew --prefix)/opt/llvm/bin:
|
||||
if [ "$(uname)" == "Darwin" ]; then
|
||||
PATH=$PATH:/usr/local/bin:/usr/local/sbin:/usr/local/opt/llvm/bin:
|
||||
elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
|
||||
PATH=$PATH:/usr/local/bin:/usr/local/sbin:/usr/local/opt/llvm/bin:
|
||||
elif [ "$(expr substr $(uname -s) 1 10)" == "MINGW32_NT" ]; then
|
||||
PATH=$PATH:/usr/local/bin:/usr/local/sbin:/usr/local/opt/llvm/bin:
|
||||
fi
|
||||
|
||||
|
||||
# Enforce citra's whitespace policy
|
||||
git config --local core.whitespace tab-in-indent,trailing-space
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user