Package: qgis / 2.4.0-1

python-env.patch Patch series | download
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
Description: Use /usr/bin/python2.7 explicitly

--- a/src/plugins/grass/qgis_grass_test.py
+++ b/src/plugins/grass/qgis_grass_test.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2.7
 # -*- coding: utf-8 -*-
 #-----------------------------------------------------------
 #
--- a/src/plugins/grass/scripts/db.connect-login.pg.py
+++ b/src/plugins/grass/scripts/db.connect-login.pg.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2.7
 # -*- coding: utf-8 -*-
 
 """
--- a/src/plugins/grass/scripts/qgis.v.kernel.rast.py
+++ b/src/plugins/grass/scripts/qgis.v.kernel.rast.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2.7
 # -*- coding: utf-8 -*-
 
 """
--- a/src/plugins/grass/scripts/r.external.all.py
+++ b/src/plugins/grass/scripts/r.external.all.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2.7
 # -*- coding: utf-8 -*-
 
 """
--- a/src/plugins/grass/scripts/v.out.ogr.pg.py
+++ b/src/plugins/grass/scripts/v.out.ogr.pg.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2.7
 # -*- coding: utf-8 -*-
 
 """
--- a/scripts/random_vector.py
+++ b/scripts/random_vector.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2.7
 
 # Generates random shapefile which may be used for benchmarks 
 
--- a/scripts/widgets_tree.py
+++ b/scripts/widgets_tree.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2.7
 # -*- coding: utf-8 -*-
 
 """