[CRIU] [PATCH] zdtm.py: use /usr/bin/env in zdtm.py
Pavel Emelyanov
xemul at parallels.com
Thu Nov 5 04:36:50 PST 2015
On 11/03/2015 05:47 PM, Laurent Dufour wrote:
> zdtm fails to run on ubuntu:
> $ ./zdtm.py run -a
> -bash: ./zdtm.py: /bin/env: bad interpreter: No such file or directory
>
> The root cause is that Debian and Ubuntu (and may be other distro)
> doesn't have /bin/env but only /usr/bin/env. Fedora and Red Hat sounds to
> provide the both but /usr/bin/env seems to be the standard.
Thanks! But Tycho already sent the same fix, so it's already in the master :)
> Signed-off-by: Laurent Dufour <ldufour at linux.vnet.ibm.com>
> ---
> test/zdtm.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/test/zdtm.py b/test/zdtm.py
> index f2c19ac7911e..92fd33f297c6 100755
> --- a/test/zdtm.py
> +++ b/test/zdtm.py
> @@ -1,4 +1,4 @@
> -#!/bin/env python
> +#!/usr/bin/env python
> import argparse
> import yaml
> import os
>
More information about the CRIU
mailing list