From b3184dfb33d7fa266806a19dbd2fac8279c7fc7f Mon Sep 17 00:00:00 2001 From: noah the goodra Date: Mon, 30 Jan 2017 15:22:24 -0600 Subject: [PATCH] fixed the prehook on osx --- hooks/pre-commit | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hooks/pre-commit b/hooks/pre-commit index 04fdaf8ec..e5cc63270 100755 --- a/hooks/pre-commit +++ b/hooks/pre-commit @@ -1,4 +1,7 @@ #!/bin/sh +if [[ $OSTYPE == darwin* ]] +export PATH=$PATH:$(brew --prefix)/opt/llvm/bin: +fi # Enforce citra's whitespace policy git config --local core.whitespace tab-in-indent,trailing-space