added check for each platform

This commit is contained in:
noah the goodra 2017-01-31 10:06:58 -06:00
parent b69e33a0d6
commit 45b3b36c4a

View File

@ -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