aboutsummaryrefslogtreecommitdiffstats
path: root/testing/emscripten/fix-python-shebang.patch
blob: 4cb0c3d6a87273e4f8d9f0cec772e777d235848c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
--- a/em++
+++ b/em++
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2
 
 # This script should work in python 2 *or* 3. It loads emcc.py, which needs python 2.
 # It also tells emcc.py that we want C++ and not C by default
--- a/em++.py
+++ b/em++.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2
 
 # This script should work in python 2 *or* 3. It loads emcc.py, which needs python 2.
 # It also tells emcc.py that we want C++ and not C by default
--- a/emar
+++ b/emar
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2
 
 # This script should work in python 2 *or* 3. It loads emar.py, which needs python 2.
 
--- a/emcc
+++ b/emcc
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2
 
 # This script should work in python 2 *or* 3. It loads emcc.py, which needs python 2.
 
--- a/emcmake
+++ b/emcmake
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2
 
 # This script should work in python 2 *or* 3. It loads emcmake.py, which needs python 2.
 
--- a/emconfigure
+++ b/emconfigure
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2
 
 # This script should work in python 2 *or* 3. It loads emconfigure.py, which needs python 2.
 
--- a/emmake
+++ b/emmake
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2
 
 # This script should work in python 2 *or* 3. It loads emmake.py, which needs python 2.
 
--- a/emranlib
+++ b/emranlib
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2
 
 '''
 emcc - ranlib helper script
--- a/emrun
+++ b/emrun
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2
 
 # emrun: Implements machinery that allows running a .html page as if it was a standard executable file.
 # Usage: emrun <options> filename.html <args to program>
--- a/system/bin/sdl-config
+++ b/system/bin/sdl-config
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2
 
 from __future__ import print_function
 import sys
--- a/system/bin/sdl2-config
+++ b/system/bin/sdl2-config
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2
 
 from __future__ import print_function
 import sys
--- a/tools/emprofile.py
+++ b/tools/emprofile.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2
 
 import sys, shutil, os, json, tempfile, time
 
--- a/tools/ffdb.py
+++ b/tools/ffdb.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2
 
 import socket, json, sys, uuid, datetime, time, logging, cgi, zipfile, os, tempfile, atexit, subprocess, re, base64, struct, imghdr