]> granicus.if.org Git - clang/commitdiff
Portable Python script across Python version
authorSerge Guelton <sguelton@quarkslab.com>
Thu, 3 Jan 2019 14:27:05 +0000 (14:27 +0000)
committerSerge Guelton <sguelton@quarkslab.com>
Thu, 3 Jan 2019 14:27:05 +0000 (14:27 +0000)
Get rid of Python version specific shebang.

Differential Revision: https://reviews.llvm.org/D55207

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@350319 91177308-0d34-0410-b5e6-96231b3b80d8

utils/check_cfc/check_cfc.py
utils/check_cfc/obj_diff.py
utils/check_cfc/test_check_cfc.py

index 4ad88c8b751d6d9642ae45bdd8d677976d03a08f..311f502f800b3ce24e9c013893bbfeb113da47b3 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.7
+#!/usr/bin/env python
 
 """Check CFC - Check Compile Flow Consistency
 
index 1302834432a9dde01291377e6ef64e8ef28ca810..a0951c5bcdee48989d9e55fa21e12d8ca233c32d 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.7
+#!/usr/bin/env python
 
 from __future__ import absolute_import, division, print_function
 
index e304ff59277d0f44474de85d1d18b12001c183d4..0808252a2c60c1244d400b1d13b605fec1ff2dd0 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.7
+#!/usr/bin/env python
 
 """Test internal functions within check_cfc.py."""