diff --git a/hooks/pre-commit b/hooks/pre-commit index eec74c355..69b7ea18c 100755 --- a/hooks/pre-commit +++ b/hooks/pre-commit @@ -1,6 +1,6 @@ -#!/bin/sh +#!/usr/bin/env bash -if [ $OSTYPE == darwin* ] +if [[ $OSTYPE == darwin* ]] then export PATH=$PATH:$(brew --prefix)/opt/llvm/bin: fi