toolchain: Fix SPIRV-Headers update script
authorCody Northrop <cnorthrop@google.com>
Fri, 5 Aug 2016 20:21:21 +0000 (14:21 -0600)
committerKarl Schultz <karl@lunarg.com>
Tue, 9 Aug 2016 16:53:39 +0000 (10:53 -0600)
Without specifying a branch, git pull fails.

update_external_sources.sh

index f9f94ec..fa740a6 100755 (executable)
@@ -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
 }