aboutsummaryrefslogtreecommitdiffstats
path: root/xen/tools/compat-build-header.py
diff options
context:
space:
mode:
authorKeir Fraser <keir@xensource.com>2007-10-19 14:49:08 +0100
committerKeir Fraser <keir@xensource.com>2007-10-19 14:49:08 +0100
commita9931381f987fa11d0ad687a73bae9a36a24dfc6 (patch)
tree98e1ce9c0a7215fe1d393c303c55f48c95e0e92d /xen/tools/compat-build-header.py
parent02ae00123e864a93b4dfbc48b9c2d04a4d131aba (diff)
downloadxen-a9931381f987fa11d0ad687a73bae9a36a24dfc6.tar.gz
xen-a9931381f987fa11d0ad687a73bae9a36a24dfc6.tar.bz2
xen-a9931381f987fa11d0ad687a73bae9a36a24dfc6.zip
Fix x86/64 build for *BSD.
- Config.mk: uname -m prints "amd64". Deal with this. - do not assume python is always in /usr/bin - get-fields.sh: make it portable and non-bash specific Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Diffstat (limited to 'xen/tools/compat-build-header.py')
-rwxr-xr-xxen/tools/compat-build-header.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/tools/compat-build-header.py b/xen/tools/compat-build-header.py
index c802f60e3c..fba2f37861 100755
--- a/xen/tools/compat-build-header.py
+++ b/xen/tools/compat-build-header.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
import re,sys