external: GH#246, Move glslang and spirv-tools inside of dir tree
Have update_external_sources create a sub-directory "external" to
fetch these components into. This way the update_external_sources
does not potentially overwrite files outside the directory tree.
Change-Id: Ia03d1fb9e4dad9d9db26a46e596fb1bf24fcb033
diff --git a/update_external_sources.sh b/update_external_sources.sh
index d3702ec..4c1a6f9 100755
--- a/update_external_sources.sh
+++ b/update_external_sources.sh
@@ -9,7 +9,7 @@
echo "SPIRV_TOOLS_REVISION=$SPIRV_TOOLS_REVISION"
BUILDDIR=$PWD
-BASEDIR=$BUILDDIR/..
+BASEDIR=$BUILDDIR/external
function create_glslang () {
rm -rf $BASEDIR/glslang