Don't put our xcrun shim on path for 10.9

This commit is contained in:
Will Farrington 2013-07-19 12:36:27 -07:00
parent 9fc4476a7d
commit f7e1bcaab3

View file

@ -15,7 +15,13 @@ set -e
rm -rf .bundle/config rm -rf .bundle/config
rm -rf .librarian/puppet/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 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 "$@" /usr/bin/bundle install --binstubs bin --path .bundle --quiet "$@"