]> git.pld-linux.org Git - packages/xen.git/blob - xen-python_scripts.patch
- fixes xen Python scripts' headers (#!/usr/bin/python instead of #!/usr/bin/env)
[packages/xen.git] / xen-python_scripts.patch
1 diff -dru xen-3.0.2.orig/tools/check/check_logging xen-3.0.2/tools/check/check_logging
2 --- xen-3.0.2.orig/tools/check/check_logging    2006-04-10 00:05:52.000000000 +0200
3 +++ xen-3.0.2/tools/check/check_logging 2006-04-30 20:13:13.000000000 +0200
4 @@ -1,4 +1,4 @@
5 -#!/usr/bin/env python
6 +#!/usr/bin/python
7  #  -*- mode: python; -*-
8  
9  import os
10 diff -dru xen-3.0.2.orig/tools/ioemu/keymaps/convert-map xen-3.0.2/tools/ioemu/keymaps/convert-map
11 --- xen-3.0.2.orig/tools/ioemu/keymaps/convert-map      2006-04-10 00:05:53.000000000 +0200
12 +++ xen-3.0.2/tools/ioemu/keymaps/convert-map   2006-04-30 20:13:13.000000000 +0200
13 @@ -1,4 +1,4 @@
14 -#!/usr/bin/env python2
15 +#!/usr/bin/python
16  # -*-Python-*-
17  #
18  # 
19 diff -dru xen-3.0.2.orig/tools/misc/netfix xen-3.0.2/tools/misc/netfix
20 --- xen-3.0.2.orig/tools/misc/netfix    2006-04-10 00:05:53.000000000 +0200
21 +++ xen-3.0.2/tools/misc/netfix 2006-04-30 20:13:13.000000000 +0200
22 @@ -1,4 +1,4 @@
23 -#!/usr/bin/env python
24 +#!/usr/bin/python
25  #  -*- mode: python; -*-
26  #============================================================================
27  # Copyright (C) 2004 Mike Wray <mike.wray@hp.com>
28 diff -dru xen-3.0.2.orig/tools/misc/xen-bugtool xen-3.0.2/tools/misc/xen-bugtool
29 --- xen-3.0.2.orig/tools/misc/xen-bugtool       2006-04-10 00:05:53.000000000 +0200
30 +++ xen-3.0.2/tools/misc/xen-bugtool    2006-04-30 20:13:13.000000000 +0200
31 @@ -1,4 +1,4 @@
32 -#!/usr/bin/env python
33 +#!/usr/bin/python
34  
35  #  -*- mode: python; -*-
36  
37 diff -dru xen-3.0.2.orig/tools/misc/xencons xen-3.0.2/tools/misc/xencons
38 --- xen-3.0.2.orig/tools/misc/xencons   2006-04-10 00:05:53.000000000 +0200
39 +++ xen-3.0.2/tools/misc/xencons        2006-04-30 20:13:13.000000000 +0200
40 @@ -1,4 +1,4 @@
41 -#!/usr/bin/env python
42 +#!/usr/bin/python
43  
44  ##############################################
45  # Console client for Xen guest OSes
46 diff -dru xen-3.0.2.orig/tools/misc/xend xen-3.0.2/tools/misc/xend
47 --- xen-3.0.2.orig/tools/misc/xend      2006-04-10 00:05:53.000000000 +0200
48 +++ xen-3.0.2/tools/misc/xend   2006-04-30 20:13:13.000000000 +0200
49 @@ -1,4 +1,4 @@
50 -#!/usr/bin/env python
51 +#!/usr/bin/python
52  #  -*- mode: python; -*-
53  #============================================================================
54  # Copyright (C) 2004 Mike Wray <mike.wray@hp.com>
55 diff -dru xen-3.0.2.orig/tools/misc/xensymoops xen-3.0.2/tools/misc/xensymoops
56 --- xen-3.0.2.orig/tools/misc/xensymoops        2006-04-10 00:05:53.000000000 +0200
57 +++ xen-3.0.2/tools/misc/xensymoops     2006-04-30 20:13:13.000000000 +0200
58 @@ -1,4 +1,4 @@
59 -#!/usr/bin/env python
60 +#!/usr/bin/python
61  
62  # An oops analyser for Xen
63  # Usage: xensymoops path-to-xen.s < oops-message
64 diff -dru xen-3.0.2.orig/tools/misc/xm xen-3.0.2/tools/misc/xm
65 --- xen-3.0.2.orig/tools/misc/xm        2006-04-10 00:05:53.000000000 +0200
66 +++ xen-3.0.2/tools/misc/xm     2006-04-30 20:13:13.000000000 +0200
67 @@ -1,4 +1,4 @@
68 -#!/usr/bin/env python
69 +#!/usr/bin/python
70  #  -*- mode: python; -*-
71  import sys
72  
73 diff -dru xen-3.0.2.orig/tools/python/xen/util/bugtool.py xen-3.0.2/tools/python/xen/util/bugtool.py
74 --- xen-3.0.2.orig/tools/python/xen/util/bugtool.py     2006-04-10 00:05:53.000000000 +0200
75 +++ xen-3.0.2/tools/python/xen/util/bugtool.py  2006-04-30 20:13:13.000000000 +0200
76 @@ -1,4 +1,4 @@
77 -#!/usr/bin/env python
78 +#!/usr/bin/python
79  
80  # This library is free software; you can redistribute it and/or
81  # modify it under the terms of version 2.1 of the GNU Lesser General Public
82 diff -dru xen-3.0.2.orig/tools/python/xen/util/pci.py xen-3.0.2/tools/python/xen/util/pci.py
83 --- xen-3.0.2.orig/tools/python/xen/util/pci.py 2006-04-10 00:05:53.000000000 +0200
84 +++ xen-3.0.2/tools/python/xen/util/pci.py      2006-04-30 20:13:13.000000000 +0200
85 @@ -1,4 +1,4 @@
86 -#!/usr/bin/env python
87 +#!/usr/bin/python
88  #
89  # PCI Device Information Class
90  # - Helps obtain information about which I/O resources a PCI device needs
91 diff -dru xen-3.0.2.orig/tools/python/xen/xend/XendClient.py xen-3.0.2/tools/python/xen/xend/XendClient.py
92 --- xen-3.0.2.orig/tools/python/xen/xend/XendClient.py  2006-04-10 00:05:53.000000000 +0200
93 +++ xen-3.0.2/tools/python/xen/xend/XendClient.py       2006-04-30 20:13:13.000000000 +0200
94 @@ -1,4 +1,4 @@
95 -#!/usr/bin/env python
96 +#!/usr/bin/python
97  #============================================================================
98  # This library is free software; you can redistribute it and/or
99  # modify it under the terms of version 2.1 of the GNU Lesser General Public
100 diff -dru xen-3.0.2.orig/tools/python/xen/xend/sxp.py xen-3.0.2/tools/python/xen/xend/sxp.py
101 --- xen-3.0.2.orig/tools/python/xen/xend/sxp.py 2006-04-10 00:05:53.000000000 +0200
102 +++ xen-3.0.2/tools/python/xen/xend/sxp.py      2006-04-30 20:13:13.000000000 +0200
103 @@ -1,4 +1,4 @@
104 -#!/usr/bin/env python
105 +#!/usr/bin/python
106  #============================================================================
107  # This library is free software; you can redistribute it and/or
108  # modify it under the terms of version 2.1 of the GNU Lesser General Public
109 diff -dru xen-3.0.2.orig/tools/vnet/scripts/vn xen-3.0.2/tools/vnet/scripts/vn
110 --- xen-3.0.2.orig/tools/vnet/scripts/vn        2006-04-10 00:05:54.000000000 +0200
111 +++ xen-3.0.2/tools/vnet/scripts/vn     2006-04-30 20:13:13.000000000 +0200
112 @@ -1,4 +1,4 @@
113 -#!/usr/bin/env python2.4
114 +#!/usr/bin/python
115  #  -*- mode: python; -*-
116  #============================================================================
117  # Copyright (C) 2005, 2006 Mike Wray <mike.wray@hp.com>
118 diff -dru xen-3.0.2.orig/tools/xenmon/xenmon.py xen-3.0.2/tools/xenmon/xenmon.py
119 --- xen-3.0.2.orig/tools/xenmon/xenmon.py       2006-04-10 00:05:54.000000000 +0200
120 +++ xen-3.0.2/tools/xenmon/xenmon.py    2006-04-30 20:13:13.000000000 +0200
121 @@ -1,4 +1,4 @@
122 -#!/usr/bin/env python
123 +#!/usr/bin/python
124  
125  #####################################################################
126  # xenmon is a front-end for xenbaked.
127 diff -dru xen-3.0.2.orig/tools/xentrace/xentrace_format xen-3.0.2/tools/xentrace/xentrace_format
128 --- xen-3.0.2.orig/tools/xentrace/xentrace_format       2006-04-10 00:05:54.000000000 +0200
129 +++ xen-3.0.2/tools/xentrace/xentrace_format    2006-04-30 20:13:13.000000000 +0200
130 @@ -1,4 +1,4 @@
131 -#!/usr/bin/env python
132 +#!/usr/bin/python
133  
134  # by Mark Williamson, (C) 2004 Intel Research Cambridge
135  
This page took 0.04227 seconds and 4 git commands to generate.