The path to the python binary can be different from /usr/bin/python depending on the distro/OS.
Signed-off-by: Roger Pau Monné <roger....@citrix.com> --- Cc: Ian Jackson <ian.jack...@eu.citrix.com> Cc: Wei Liu <wei.l...@citrix.com> Cc: Christian Lindig <christian.lin...@citrix.com> Cc: David Scott <d...@recoil.org> --- tools/include/xen-foreign/mkchecker.py | 2 +- tools/include/xen-foreign/mkheader.py | 2 +- tools/libxl/gentest.py | 2 +- tools/libxl/gentypes.py | 2 +- tools/misc/xen-ringwatch | 2 +- tools/misc/xencov_split | 2 +- tools/ocaml/libs/xentoollog/genlevels.py | 2 +- tools/ocaml/libs/xl/genwrap.py | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tools/include/xen-foreign/mkchecker.py b/tools/include/xen-foreign/mkchecker.py index fdad869a91..3f1debf3af 100644 --- a/tools/include/xen-foreign/mkchecker.py +++ b/tools/include/xen-foreign/mkchecker.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python import sys; from structs import structs, compat_arches; diff --git a/tools/include/xen-foreign/mkheader.py b/tools/include/xen-foreign/mkheader.py index 97e0c7a984..812f50ed4e 100644 --- a/tools/include/xen-foreign/mkheader.py +++ b/tools/include/xen-foreign/mkheader.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python import sys, re; from structs import unions, structs, defines; diff --git a/tools/libxl/gentest.py b/tools/libxl/gentest.py index 989959fc68..fbf577d4b5 100644 --- a/tools/libxl/gentest.py +++ b/tools/libxl/gentest.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python import os import sys diff --git a/tools/libxl/gentypes.py b/tools/libxl/gentypes.py index 88e5c5f30e..a36abfb0aa 100644 --- a/tools/libxl/gentypes.py +++ b/tools/libxl/gentypes.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python import sys import re diff --git a/tools/misc/xen-ringwatch b/tools/misc/xen-ringwatch index e6f5361231..df7db5c312 100644 --- a/tools/misc/xen-ringwatch +++ b/tools/misc/xen-ringwatch @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # # Copyright (C) 2011 Citrix Systems, Inc. # diff --git a/tools/misc/xencov_split b/tools/misc/xencov_split index 1f20518b86..5771f6cfc2 100755 --- a/tools/misc/xencov_split +++ b/tools/misc/xencov_split @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python import sys, os, os.path as path, struct, errno from optparse import OptionParser diff --git a/tools/ocaml/libs/xentoollog/genlevels.py b/tools/ocaml/libs/xentoollog/genlevels.py index 8c233c59b1..9dd3048a46 100755 --- a/tools/ocaml/libs/xentoollog/genlevels.py +++ b/tools/ocaml/libs/xentoollog/genlevels.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python import sys diff --git a/tools/ocaml/libs/xl/genwrap.py b/tools/ocaml/libs/xl/genwrap.py index 9a65d7334d..75ed4b400d 100644 --- a/tools/ocaml/libs/xl/genwrap.py +++ b/tools/ocaml/libs/xl/genwrap.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python import sys,os -- 2.18.0 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel