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

Ruslan Kuprieiev kupruser at gmail.com
Sun Oct 19 09:11:08 PDT 2014


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>
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



More information about the CRIU mailing list