File: 02_add_shebang.patch

package info (click to toggle)
pyode 1.2.0.dev15-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 704 kB
  • sloc: python: 2,036; sh: 24; makefile: 4
file content (45 lines) | stat: -rw-r--r-- 1,174 bytes parent folder | download | duplicates (4)
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
Description: Add shebang to non-executable files.
--- a/examples/tutorial1.py
+++ b/examples/tutorial1.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
 
 """
     Py3ODE example 1
--- a/examples/tutorial2.py
+++ b/examples/tutorial2.py
@@ -1,3 +1,4 @@
+#!/usr/bin/python3
 # ODE Demo
 
 import sys
--- a/examples/tutorial_heightmap.py
+++ b/examples/tutorial_heightmap.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
 
 """
     Py3ODE heightmap example
--- a/examples/transforms.py
+++ b/examples/transforms.py
@@ -1,3 +1,4 @@
+#!/usr/bin/python3
 ######################################################################
 # Python Open Dynamics Engine Wrapper
 # Copyright (C) 2004 PyODE developers (see file AUTHORS)
--- a/examples/tutorial3.py
+++ b/examples/tutorial3.py
@@ -1,3 +1,4 @@
+#!/usr/bin/python3
 # pyODE example 3: Collision detection
 
 # Originally by Matthias Baas.
--- a/examples/vehicle.py
+++ b/examples/vehicle.py
@@ -1,3 +1,4 @@
+#!/usr/bin/python3
 ######################################################################
 # Python Open Dynamics Engine Wrapper
 # Copyright (C) 2004 PyODE developers (see file AUTHORS)