aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Northrop <cnorthrop@google.com>2016-08-05 14:21:21 -0600
committerKarl Schultz <karl@lunarg.com>2016-08-09 10:53:39 -0600
commitff9b0b539e5617378de5e5fc04e727f89bfb0e1d (patch)
treec7a0d1be4869ae55bd6b364d7233f817bbee65d7
parentd6cea516e7588d9e251a8f2713fb458044a751eb (diff)
downloadusermoji-ff9b0b539e5617378de5e5fc04e727f89bfb0e1d.tar.xz
toolchain: Fix SPIRV-Headers update script
Without specifying a branch, git pull fails.
-rwxr-xr-xupdate_external_sources.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/update_external_sources.sh b/update_external_sources.sh
index f9f94ec3..fa740a64 100755
--- a/update_external_sources.sh
+++ b/update_external_sources.sh
@@ -60,6 +60,7 @@ function update_spirv-tools () {
else
cd $BASEDIR/spirv-tools/external/spirv-headers
git fetch --all
+ git checkout master
git pull
fi
}