Ver Fonte

Explicitly use Python 3 for scripts

Brendan Shanks há 3 anos atrás
pai
commit
25555a7f62
3 ficheiros alterados com 4 adições e 4 exclusões
  1. 1 1
      build_info.py
  2. 2 2
      gen_extension_headers.py
  3. 1 1
      update_glslang_sources.py

+ 1 - 1
build_info.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (c) 2020 Google Inc.
 #

+ 2 - 2
gen_extension_headers.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (c) 2020 Google Inc.
 #
@@ -95,4 +95,4 @@ def main():
     generate_main(glsl_files, output_file)
 
 if __name__ == '__main__':
-    main()
+    main()

+ 1 - 1
update_glslang_sources.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright 2017 The Glslang Authors. All rights reserved.
 #