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