summaryrefslogtreecommitdiff
path: root/update_external_sources.sh
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
commit32a27a11b0751727e78312077398e5b3ae217e82 (patch)
tree435911e36acca1d184066d869f7e3636290460e6 /update_external_sources.sh
parentb05be7c81dfbaef10cf00e2cc1c3832026fde765 (diff)
toolchain: Fix SPIRV-Headers update script
Without specifying a branch, git pull fails.
Diffstat (limited to 'update_external_sources.sh')
-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
}