[CRIU] [PATCH] p.haul: use /usr/bin/env instead of /bin/env

Tycho Andersen tycho.andersen at canonical.com
Sun Oct 19 13:29:49 PDT 2014


On Sun, Oct 19, 2014 at 07:11:08PM +0300, Ruslan Kuprieiev wrote:
> Some systems don't have /bin/env. But most
> systems have /usr/bin/env, so lets use it in
> shabang.
> 
> Reported-by: Sowmini Varadhan <sowmini.varadhan at oracle.com>
> Reported-by: Tycho Andersen <tycho.andersen at canonical.com>

Acked-by: Tycho Andersen <tycho.andersen at canonical.com>

> Signed-off-by: Ruslan Kuprieiev <kupruser at gmail.com>
> ---
>  p.haul         | 2 +-
>  p.haul-service | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/p.haul b/p.haul
> index b8f050e..8c7f181 100755
> --- a/p.haul
> +++ b/p.haul
> @@ -1,4 +1,4 @@
> -#!/bin/env python
> +#!/usr/bin/env python
>  import sys
>  import argparse
>  import p_haul_iters as ph_iters
> diff --git a/p.haul-service b/p.haul-service
> index 7444df5..cdeff54 100755
> --- a/p.haul-service
> +++ b/p.haul-service
> @@ -1,4 +1,4 @@
> -#!/bin/env python
> +#!/usr/bin/env python
>  
>  import signal
>  import xem_rpc
> -- 
> 1.9.3
> 
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu


More information about the CRIU mailing list