aboutsummaryrefslogtreecommitdiff
path: root/update_external_sources.sh
diff options
context:
space:
mode:
authorJon Ashburn <jon@lunarg.com>2016-05-02 08:39:14 -0600
committerJon Ashburn <jon@lunarg.com>2016-05-03 11:37:09 -0600
commit85dfbee8d1b4943863ef60063e9590bb726ebb78 (patch)
tree8c7d7d6aefe3f39e71122cdad26143290152ea25 /update_external_sources.sh
parent06ec2289fb7dbd5556ab06fff9d1db98c70cb5ad (diff)
downloadusermoji-85dfbee8d1b4943863ef60063e9590bb726ebb78.tar.xz
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
Diffstat (limited to 'update_external_sources.sh')
-rwxr-xr-xupdate_external_sources.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/update_external_sources.sh b/update_external_sources.sh
index d3702ec9..4c1a6f95 100755
--- a/update_external_sources.sh
+++ b/update_external_sources.sh
@@ -9,7 +9,7 @@ echo "GLSLANG_REVISION=$GLSLANG_REVISION"
echo "SPIRV_TOOLS_REVISION=$SPIRV_TOOLS_REVISION"
BUILDDIR=$PWD
-BASEDIR=$BUILDDIR/..
+BASEDIR=$BUILDDIR/external
function create_glslang () {
rm -rf $BASEDIR/glslang