浏览代码

Explicitly use Python 3 for scripts

Brendan Shanks 3 年之前
父节点
当前提交
25555a7f62
共有 3 个文件被更改,包括 4 次插入4 次删除
  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.
 #