On 03/12/2013 03:07 PM, [email protected] wrote:
From: Lei Yang<[email protected]>
Signed-off-by: Lei Yang<[email protected]>
---
crontab/crontab.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crontab/crontab.py b/crontab/crontab.py
index 6332109..1462f11 100755
--- a/crontab/crontab.py
+++ b/crontab/crontab.py
@@ -1,4 +1,4 @@
-#!/bin/python
+#!/usr/bin/python
NACK, the location of python can vary widely, so we can't use an
absolute pathname,
a good fix is to replace above line with "/usr/bin/env python", which
will searche $PATH
for python and runs it.
import os, shutil, glob, logging
from autotest.client import test, utils
from autotest.client.shared import error
_______________________________________________
Virt-test-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-test-devel