Don't put our xcrun shim on path for 10.9
This commit is contained in:
parent
9fc4476a7d
commit
f7e1bcaab3
1 changed files with 8 additions and 2 deletions
|
@ -15,7 +15,13 @@ set -e
|
|||
rm -rf .bundle/config
|
||||
rm -rf .librarian/puppet/config
|
||||
|
||||
# Bundle install unless we're already up to date.
|
||||
|
||||
# Put xcrun shim on PATH if on MoLo
|
||||
set +e
|
||||
OSX_VERSION_CHECK=`sw_vers | grep ProductVersion | cut -f 2 -d ':' | egrep '10\.8'`
|
||||
if [ $? -eq 0 ]; then
|
||||
export PATH=$(pwd)/vendor/shims:$PATH
|
||||
fi
|
||||
set -e
|
||||
|
||||
# Bundle install unless we're already up to date.
|
||||
/usr/bin/bundle install --binstubs bin --path .bundle --quiet "$@"
|
||||
|
|
Loading…
Reference in a new issue