[CRIU] [PATCH] zdtm.py: use /usr/bin/env for interpreter

Tycho Andersen tycho.andersen at canonical.com
Mon Nov 2 11:04:17 PST 2015


On debian/ubuntu systems, we don't have a /bin/env by default; on rhel
systems (my limited testing seems to indcate that) /usr/bin/env is a
symlink to /bin/env, so let's just use that so it works everywhere.

Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>
---
 test/zdtm.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/zdtm.py b/test/zdtm.py
index 1e967f5..6fd8ed9 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
-- 
2.5.0



More information about the CRIU mailing list