diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/fetch_glslangvalidator.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/fetch_glslangvalidator.py b/scripts/fetch_glslangvalidator.py index 02b93015..cfee9d1b 100755 --- a/scripts/fetch_glslangvalidator.py +++ b/scripts/fetch_glslangvalidator.py @@ -31,7 +31,8 @@ import subprocess import urllib.request import zipfile -REPO_DIR = os.path.join(os.getcwd(), "..") +SCRIPTS_DIR = os.path.dirname(os.path.abspath(__file__)) +REPO_DIR = os.path.join(SCRIPTS_DIR, '..') GLSLANG_URL = "https://github.com/KhronosGroup/glslang/releases/download/master-tot" if __name__ == '__main__': |
