From bb0565d4d8620cc14db9ae39fef8c3907e35785b Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Thu, 10 Mar 2016 16:25:54 -0800 Subject: [PATCH] pin mason to avoid breakage from upcoming improvements - refs mapbox/mason#131 --- bootstrap.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bootstrap.sh b/bootstrap.sh index 040034f68..ca861e178 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -10,12 +10,15 @@ todo - shrink icu data ' +MASON_VERSION="694d08c" + function setup_mason() { if [[ ! -d ./.mason ]]; then - git clone --depth 1 https://github.com/mapbox/mason.git ./.mason + git clone https://github.com/mapbox/mason.git ./.mason + git checkout ${MASON_VERSION} else echo "Updating to latest mason" - (cd ./.mason && git pull) + (cd ./.mason && git fetch && git checkout ${MASON_VERSION}) fi export MASON_DIR=$(pwd)/.mason export PATH=$(pwd)/.mason:$PATH